1
imaple OP 是个动图,好像要点击图片才能动...有更好的方法么?我感觉不太方便.
|
2
olaloong 2018-12-05 17:12:46 +08:00 via Android
base64
|
3
Humorce 2018-12-05 17:15:42 +08:00
你都学会自问自答了
|
5
geeksu 2018-12-05 17:18:43 +08:00
base64 不叫加密
|
7
sigup 2018-12-05 17:19:32 +08:00
直接 F12, 在 console 里 atob('加密文本') 回车就可以
|
8
whwq2012 2018-12-05 17:20:02 +08:00 via Android
就是要不方便。不然怕被骚扰
|
9
msaionyc 2018-12-05 17:21:26 +08:00
chrome 扩展:{base64 encode & decode}
|
12
eamo 2018-12-05 18:41:16 +08:00
楼主的小书签感觉好实用啊,能不能分享一下
|
14
kba977 2018-12-05 18:55:03 +08:00
|
15
ShuoHui 2018-12-06 08:10:40 +08:00 1
手机 app 长按就可以解密。。不然的话,http://base64.us 满足你
|
16
imaple OP @eamo 火狐新建书签输入下面的部分就好了,好像有些网页不支持。
javascript:(function()%7Bvar%20t%3D((window.getSelection%26%26window.getSelection())%7C%7C(document.getSelection%26%26document.getSelection())%7C%7C(document.selection%26%26document.selection.createRange%26%26document.selection.createRange().text))%3Bfunction%20boldSelection(text)%20%7B%20if%20(document.selection)%20%7B%20var%20selecter%20%3D%20document.selection.createRange()%3B%20selecter.select()%3B%20var%20selectStr%20%3D%20selecter.text%3B%20%20selecter.pasteHTML(text)%3B%20%7D%20else%20%7B%20var%20selecter%3B%20if%20(window.getSelection())%20%7B%20selecter%20%3D%20window.getSelection()%3B%20%7D%20else%20%7B%20selecter%20%3D%20document.getSelection()%3B%20%7D%20selecter%20%3D%20document.getSelection()%3B%20var%20selectStr%20%3D%20selecter.toString()%3B%20if%20(selectStr.trim()%20!%3D%20%22%22)%20%7B%20var%20rang%20%3D%20selecter.getRangeAt(0)%3B%20var%20temp%20%3D%20document.createElement('b')%3B%20rang.surroundContents(temp)%3B%20rang.deleteContents()%3B%20rang.insertNode(document.createTextNode(text))%3B%20%7D%20%7D%20%7DboldSelection(atob(''%2Bt))%7D)() |
19
Tary 2019-05-10 01:08:10 +08:00
|