资源

书签工具箱

Pony · 3月24日 · 2020年

食用方法

点击浏览器(建议食用电脑)收藏按钮

添加下方链接

年进度快速复制

javascript:(()=>{const dbNum=num=>num>9?num:”0″+num,now=new Date,year=now.getFullYear(),month=dbNum(now.getMonth()+1),today=dbNum(now.getDate()),day=now.getDay(),hours=dbNum(now.getHours()),minutes=dbNum(now.getMinutes()),seconds=dbNum(now.getSeconds()),yearStart=new Date(year,0),yearEnd=new Date(year+1,0),progress=(100(now-yearStart)/(yearEnd-yearStart)).toFixed(3);let progressbar=””;for(let i=0;i<20;i++)progressbar+=5i+2.5>=+progress?”%E2%96%91″:”%E2%96%92″;const dayNames=[“Sunday”,”Monday”,”Tuesday”,”Wednesday”,”Thursday”,”Friday”,”Saturday”],result=”Now: “+year+”-“+month+”-“+today+” “+hours+”:”+minutes+”:”+seconds+” “+dayNames[day]+”\nProgress: “+progressbar+” “+progress+”%”;console.log(result);const copyinput=document.createElement(“textarea”);copyinput.value=result,document.body.appendChild(copyinput),copyinput.select();try{document.execCommand(“copy”),alert(result)}catch(err){}document.body.removeChild(copyinput);})()

生成一枚二维码

javascript:void(window.open(‘https://cli.im/api/qrcode/code?text=’+decodeURIComponent(window.location.href), ‘%E4%BA%8C%E7%BB%B4%E7%A0%81%E5%97%B7~’, ‘menubar=0, toolbar=0, location=0, status=0, titlebar=0, alwaysRaised=1, centerscreen=1, width=350, height=’+window.innerHeight*0.8+’, scrollbars=0′))

0 条回应

上传图片