社区文档构建进行中,欢迎编辑。社区答疑群(非官方):717421103
Widget:SN
<script> window.addEventListener("load",function(){ document.body.appendChild(Snote.adder) Snote.load() }) window.addEventListener("mousedown",function(e){ if(Snote.onEdit&&!e.path.includes(Snote.onEdit.dom)){ Snote.onEdit.outEdit() } if(Snote.contextmenu.parentNode&&!e.path.includes(Snote.contextmenu)){ Snote.contextmenu.parentNode.removeChild(Snote.contextmenu) } }) window.addEventListener("mousemove",function(e){ if(Snote.onMove&&!Snote.onEdit&&!Snote.onMove.config.isFixed){ Snote.onMove.setPosition({ "left":Snote.onMove.position.left+e.movementX, "top":Snote.onMove.position.top+e.movementY }) e.preventDefault() } else if(Snote.onEdit&&Snote.onEdit.config.isImgNote&&Snote.onEdit.config.isOnDraw){ let $this=Snote.onEdit Snote.drawStart=[Snote.drawStart[0]+e.movementX,Snote.drawStart[1]+e.movementY] $this.ctx.lineTo(...Snote.drawStart) $this.ctx.stroke() $this.ctx.beginPath() $this.ctx.moveTo(...Snote.drawStart) e.preventDefault() } }) window.addEventListener("mouseup",function(){ Snote.onMove=null if(Snote.onEdit&&Snote.onEdit.config.isImgNote){ let $this=Snote.onEdit $this.setConfig("isOnDraw",false) } }) window.addEventListener("touchstart",function(e){ if(Snote.onEdit&&!e.path.includes(Snote.onEdit.dom)){ Snote.onEdit.outEdit() } }) window.addEventListener("touchmove",function(e){ if(Snote.onMove&&!Snote.onEdit&&!Snote.onMove.config.isFixed){ let $this=Snote.onMove $this.setPosition({ "left":$this.position.left-Snote.touchStart[0]+e.touches[0].screenX, "top":$this.position.top-Snote.touchStart[1]+e.touches[0].screenY }) Snote.touchStart=[e.touches[0].screenX,e.touches[0].screenY] e.preventDefault() } else if(Snote.onEdit&&Snote.onEdit.config.isImgNote&&Snote.onEdit.config.isOnDraw){ let $this=Snote.onEdit $this.ctx.lineTo(e.touches[0].pageX-$this.canvas.getClientRects()[0].left,e.touches[0].pageY-$this.canvas.getClientRects()[0].top) $this.ctx.stroke() $this.ctx.beginPath() $this.ctx.moveTo(e.touches[0].pageX-$this.canvas.getClientRects()[0].left,e.touches[0].pageY-$this.canvas.getClientRects()[0].top) e.preventDefault() } },{"passive":false}) window.addEventListener("touchend",function(){ Snote.onMove=null if(Snote.onEdit&&Snote.onEdit.config.isImgNote){ let $this=Snote.onEdit $this.setConfig("isOnDraw",false) } }) window.addEventListener("touchcancel",function(){ Snote.onMove=null if(Snote.onEdit&&Snote.onEdit.config.isImgNote){ let $this=Snote.onEdit $this.setConfig("isOnDraw",false) } }) function Snote(text="",config={}){ this.createDom() this.config=config this.position={} this.setPosition(Snote.defaultPosition) this.setText(text) this.put() Snote.allNotes.add(this) } Snote.version="1.0.0" Snote.allNotes=new Set() Snote.defaultPosition={ "left":50, "top":50, "width":300, "height":250, } Snote.menulist=[ [function(){return "编辑"},function(note){ note.inEdit() }], [function(note){ if(note.config.isImgNote){ return "切换为文本便签" } return "切换为绘图便签" },function(note){ if(!note.config.isImgNote){ note.initCanvas() note.setConfig("isImgNote",true) note.setText("data:image/png;base64,") } else{ note.setConfig("isImgNote",false) note.setText("") }
}], [function(note){ if(note.config.isImgNote){ return null } if(note.config.isWikitext){ return "切换为普通文本" } return "切换为WIKI文本" },function(note){ note.setConfig("isWikitext",!note.config.isWikitext) note.setText() }], [function(note){ if(note.config.isFixed){ return "取消固定" } return "固定" },function(note){ note.setConfig("isFixed",!note.config.isFixed,"fixed") }], [function(note){ if(note.config.isTransparent){ return "取消透明化" } return "透明化" },function(note){ note.setConfig("isTransparent",!note.config.isTransparent,"transparent") }], [function(note){ if(note.config.isNotSave){ return "取消离开页面后删除" } return "离开页面后删除" },function(note){ note.setConfig("isNotSave",!note.config.isNotSave,"notSave") }], [function(){return "立即删除 不可恢复!"},function(note){ note.delete() }], ] Snote.contextmenu=document.createElement("ul") Snote.contextmenu.classList.add("snote-contextmenu") Snote.adder=document.createElement("adder") Snote.adder.id="snote-add" Snote.adder.innerHTML="+" Snote.adder.onclick=function(){ let note=new Snote("新的便签,请在此输入内容……") if(Snote.onEdit){ Snote.onEdit.outEdit() } note.inEdit() } Snote.welcome=function(){ new Snote("这些介绍用的便签不会自动保存,就像右下角显示的一样,这也是便签的功能菜单可以控制的\n换而言之,你新建的便签可以在任何加载了便签功能的页面展示",{"isNotSave":true}).dom.classList.add("notSave") new Snote("这还是个实验功能,所以可能会有奇奇怪怪的BUG",{"isNotSave":true}).dom.classList.add("notSave") new Snote("便签不会收集你的任何信息,便签的所有功能所需数据都保存在了浏览器的localStorage中",{"isNotSave":true}).dom.classList.add("notSave") new Snote("你可以在便签上点击鼠标右键(移动端是长按)来打开便签的功能菜单",{"isNotSave":true}).dom.classList.add("notSave") new Snote("你可以点击屏幕左下角的“+”来新建便签",{"isNotSave":true}).dom.classList.add("notSave") new Snote("看起来你是第一次使用便签,至少在这个浏览器里是第一次,所以让我简单地介绍一下怎么使用吧\n你可以自由拖动便签,放在不会遮挡你的视线的地方",{"isNotSave":true}).dom.classList.add("notSave") } Snote.save=function(){ let notes=[] Snote.allNotes.forEach(function(note){ if(!note.config.isNotSave){ notes.push({ "classes":note.dom.className, "text":note.config.isImgNote?note.canvas.toDataURL():note.text, "position":note.position, "config":note.config }) } }) localStorage.SnoteSave=JSON.stringify(notes) } Snote.load=function(){ if(localStorage.SnoteSave){ let notes=JSON.parse(localStorage.SnoteSave) for(let i=0;i<notes.length;i++){ let note=new Snote(notes[i].text,notes[i].config) if(note.config.isImgNote){ note.initCanvas() } note.dom.className=notes[i].classes note.setPosition(notes[i].position) } } else{ Snote.welcome() localStorage.SnoteSave="[]" } } Snote.getWikiparse=function(text,callback){ let fd=new FormData() fd.append("action","parse") fd.append("title",mw.config.values.wgPageName) fd.append("text",text) fd.append("contentmodel","wikitext") fd.append("format","json") postFdApi("https://wiki.biligame.com"+mw.config.values.wgScriptPath+"/api.php",fd,function(json){ callback(JSON.parse(json).parse.text["*"]) }) }
Snote.prototype.createDom=function(){
let $this=this
$this.dom=document.createElement("div")
$this.dom.classList.add("snote")
$this.dom.classList.add("snote-default")
$this.dom.onmousedown=function(e){
Snote.onMove=$this
if(Snote.onTop!=$this){
$this.put()
}
}
$this.dom.ontouchstart=function(e){
Snote.onMove=$this
Snote.touchStart=[e.touches[0].screenX,e.touches[0].screenY]
if(Snote.onTop!=$this){
$this.put()
}
}
$this.dom.oncontextmenu=function(e){
if(!Snote.onEdit){
$this.createContextmenu()
Snote.contextmenu.style.left=e.clientX
Snote.contextmenu.style.top=e.clientY
this.appendChild(Snote.contextmenu)
let rect=Snote.contextmenu.getClientRects()[0]
Snote.contextmenu.style.left=rect.left-Math.max(rect.right-document.body.clientWidth,0)
Snote.contextmenu.style.top=rect.top-Math.max(rect.bottom-document.body.clientHeight,0)
e.preventDefault()
}
}
}
Snote.prototype.createContextmenu=function(){
let $this=this
Snote.contextmenu.innerHTML=""
for(let i=0;i<Snote.menulist.length;i++){
if(Snote.menulist[i][0]($this)){
let li=document.createElement("li")
li.innerHTML=Snote.menulist[i][0]($this)
li.onclick=function(){
Snote.contextmenu.parentNode.removeChild(Snote.contextmenu)
Snote.menulist[i][1]($this)
}
Snote.contextmenu.appendChild(li)
}
}
}
Snote.prototype.initCanvas=function(){
let $this=this
$this.dom.innerHTML=""
$this.canvas=document.createElement("canvas")
$this.ctx=$this.canvas.getContext("2d")
$this.canvas.onmousedown=function(e){
if(Snote.onEdit==$this){
$this.setConfig("isOnDraw",true)
Snote.drawStart=[e.offsetX,e.offsetY]
$this.ctx.beginPath()
$this.ctx.moveTo(...Snote.drawStart)
}
}
$this.canvas.ontouchstart=function(e){
if(Snote.onEdit==$this){
$this.setConfig("isOnDraw",true)
$this.ctx.beginPath()
$this.ctx.moveTo(e.touches[0].pageX-$this.canvas.getClientRects()[0].left,e.touches[0].pageY-$this.canvas.getClientRects()[0].top)
}
}
$this.dom.appendChild($this.canvas)
$this.canvas.width=$this.canvas.clientWidth
$this.canvas.height=$this.canvas.clientHeight
}
Snote.prototype.setText=function(text=this.text){
let $this=this
$this.text=text+""
if($this.config.isImgNote){
let img=new Image()
img.onload=function(){
$this.ctx.drawImage(img,0,0)
}
img.src=text
}
else{
if($this.config.isWikitext){
Snote.getWikiparse($this.text,function(parse){
$this.dom.innerHTML=parse
})
}
else{
$this.dom.innerHTML=""+$this.text.replaceAll(/</g,"<").replaceAll(/>/g,">")+""
}
}
Snote.save()
}
Snote.prototype.setPosition=function(info){
let $this=this
for(let key in info){
$this.position[key]=info[key]
$this.dom.style[key]=info[key]
}
Snote.save()
}
Snote.prototype.setConfig=function(key,value,changedClass){
let $this=this
$this.config[key]=value
if(changedClass){
if(value){
$this.dom.classList.add(changedClass)
}
else{
$this.dom.classList.remove(changedClass)
}
}
Snote.save()
}
Snote.prototype.put=function(){
let $this=this
document.body.appendChild($this.dom)
Snote.onTop=$this
}
Snote.prototype.inEdit=function(){
let $this=this
if($this.config.isImgNote){
$this.canvas.style.backgroundColor="white"
}
else{
$this.dom.innerHTML=""
let textarea=document.createElement("textarea")
textarea.value=$this.text
$this.dom.appendChild(textarea)
textarea.select()
}
Snote.onEdit=$this
}
Snote.prototype.outEdit=function(){
let $this=this
if($this.config.isImgNote){
$this.canvas.style.backgroundColor=""
}
else{
$this.setText($this.dom.getElementsByTagName("textarea")[0].value)
}
Snote.onEdit=null
}
Snote.prototype.delete=function(){
let $this=this
$this.dom.parentNode.removeChild($this.dom)
Snote.allNotes.delete($this)
Snote.save()
}
function postFdApi(url,fd,callback=false,callbackE=false){
let ajax=new XMLHttpRequest()
if(!callback){
ajax.open("POST",url,false)
ajax.send(fd)
let json=JSON.parse(ajax.responseText)
return json
}
ajax.open("POST",url)
ajax.send(fd)
ajax.onreadystatechange=function(){
if(ajax.readyState==4){
if(ajax.status==200){
callback(ajax.responseText)
}
else if(ajax.status==404&&callbackE){
callbackE(true)
}
}
}
}
</script>
<style> .snote{ position:fixed; z-index:9999; padding:10px; margin:0px; box-shadow:#888888 0px 0px 10px; } .snote textarea{ resize:none; width:100%; height:100%; } .snote canvas{ width:100%; height:100%; } .snote-default{ background-color:#FFF59B; } .snote-contextmenu{ position:fixed; width:max-content; } .snote-contextmenu li{ list-style:none; background-color:white; border-right:1px solid; border-bottom:1px solid; padding:2px 5px; cursor:default; } .snote-contextmenu li:hover{ background-color:#0078D7; color:white; } .snote.notSave:before{ content:"离开页面后自动删除"; position:absolute; right:0px; bottom:0px; font-size:xx-small; color:darkgray; } .snote.fixed:after{ content:""; position:absolute; right:-5px; top:-29px; width:31px; height:39px; background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAnCAYAAAD3h5P5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgKLhnQYqIWotVXDjuH9yntX167+3t+9f7vOec5/zOec8PgBESJpHmomoAOVKFPDrYH49PSMTJvYACFUjgBCAQ5svCZwXFAADwA3l4fnSwP/wBr28AAgBw1S4kEsfh/4O6UCZXACCRAOAiEucLAZBSAMguVMgUAMgYALBTs2QKAJQAAGx5fEIiAKoNAOz0ST4FANipk9wXANiiHKkIAI0BAJkoRyQCQLsAYFWBUiwCwMIAoKxAIi4EwK4BgFm2MkcCgL0FAHaOWJAPQGAAgJlCLMwAIDgCAEMeE80DIEwDoDDSv+CpX3CFuEgBAMDLlc2XS9IzFLiV0Bp38vDg4iHiwmyxQmEXKRBmCeQinJebIxNI5wNMzgwAABr50cH+OD+Q5+bk4eZm52zv9MWi/mvwbyI+IfHf/ryMAgQAEE7P79pf5eXWA3DHAbB1v2upWwDaVgBo3/ldM9sJoFoK0Hr5i3k4/EAenqFQyDwdHAoLC+0lYqG9MOOLPv8z4W/gi372/EAe/tt68ABxmkCZrcCjg/1xYW52rlKO58sEQjFu9+cj/seFf/2OKdHiNLFcLBWK8ViJuFAiTcd5uVKRRCHJleIS6X8y8R+W/QmTdw0ArIZPwE62B7XLbMB+7gECiw5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pJ86fnyDOIoCa+2Li2kaxfPzH616j6/VKMqxeWugKAlGlmBT5eRiyhCnzrHmPeveY5VikKa80O3yohD/EY2MfOGmAweoNho4Y7YdFIXADwZEzeZDvWPHil+cPfvw1PKyGGk2WQkC6t5T955ISvQ7Ss6WrJiXAHRaY4G3Fhd5IcuYGxv7hyCOHwiMeY9TqhC4OKZx+PAjxejoc6+fOvXXe/v9IzukJK7V6AYBgbUEQmxQ7ibtlgODE4KiKOiurjIzGDA7Pj6T3XLLX1WuXPk32eu9awTX1ziuQJ5TMebp/r59d7zd6Xx+ZWbm2yNxPNEsCqWSBAVE9TrCmI2Re22NxFqSapXfGMPq8PDc0tjY30zeeef3Q617Z8+dI/gg53PvPYFzuWo2/93fcccP+86dWH7ttT+LOp2xSOvJdHZ2n4njUWq1Rb1372rq3PnEmCV5+PBj9Xr92fjChULEMUWlgpDyg/8c8N5DmhJobVUYPp8593zr7rvBGH3llVcOjDzwwE/Of+tbf37w6NH/3DkxEV/6wQ8Iq1W09/g03eL93/3PxGYv9h6MIZ+fpz09bY49+OA5MTl5sXLffXNDi4txOjcHxoBzW9PQ+103dBARUmKTBFsUpGFIceut9NK02nv55Sd2TEz0wuPHGUiJNQaXptcN8+/kuckyqtUqH3roIYaOHKFIEoRzRSLlbNzr5SoM6dx9N/X9+3n71ClkEPz/Kc/X1uh8+MN86N57ybpd8B5rra3X6y82Go3YWosQguqnP83cyZM89Z3v4G/gWP2/AwC6GWOI0WUgdAAAAABJRU5ErkJggg==); } .snote.transparent{ opacity:0.2; transition:opacity 1s; } .snote.transparent:hover{ opacity:1; transition:opacity 0.1s; }
- snote-add{
position:fixed; z-index:10000; left:5px; bottom:5px; background:#FFF59B; border-radius:50%; border:1px solid; padding:10px; font-size:2em; line-height:1em; cursor:pointer; }
</style>