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 XHS - Copy DText | |
| // @author hdk5, TypeA2 | |
| // @version 20260921-1 | |
| // @namespace https://gist.github.com/TypeA2/ | |
| // @updateURL https://gist.github.com/TypeA2/727b279cee0a03b680226df0b4643e93/raw/xhs-copy-dtext.user.js | |
| // @downloadURL https://gist.github.com/TypeA2/727b279cee0a03b680226df0b4643e93/raw/xhs-copy-dtext.user.js | |
| // @match https://www.xiaohongshu.com/* | |
| // @match https://www.rednote.com/* | |
| // @grant none |
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 Appeal success rate | |
| // @namespace https://gist.github.com/TypeA2/ | |
| // @version 1.0.0 | |
| // @description Danbooru appeal success rate | |
| // @author TypeA2 | |
| // @match https://*.donmai.us/profile | |
| // @match https://*.donmai.us/users/* | |
| // @grant none | |
| // @downloadURL https://gist.github.com/TypeA2/5b6fee931fedbea60050c6da9786180e/raw/appeal-succes.user.js |
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 Direct feedback links | |
| // @namespace https://gist.github.com/TypeA2/ | |
| // @version 1.1 | |
| // @description Direct feedback links | |
| // @author TypeA2 | |
| // @match https://*.donmai.us/user_feedbacks* | |
| // @grant none | |
| // @downloadURL https://gist.github.com/TypeA2/b0fe3785a0945fd9d14713f8b0d3f8ac/raw/feedback-direct-link.user.js | |
| // @updateURL https://gist.github.com/TypeA2/b0fe3785a0945fd9d14713f8b0d3f8ac/raw/feedback-direct-link.user.js |
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 Check everyhing really | |
| // @namespace https://docs.scriptcat.org/ | |
| // @version 1.0.1 | |
| // @description A real check-all | |
| // @author TypeA2 | |
| // @downloadURL https://gist.github.com/TypeA2/d8df8b02f59281d6f8e145b59d6cdf8b/raw/el-check-all.js | |
| // @updateURL https://gist.github.com/TypeA2/d8df8b02f59281d6f8e145b59d6cdf8b/raw/el-check-all.js | |
| // @match *://*.donmai.us/* | |
| // @grant none |
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
| #!/usr/bin/env python3 | |
| import sys | |
| import math | |
| import io | |
| import requests as re | |
| from itertools import groupby | |
| from PIL import Image | |
| if len(sys.argv) != 2: | |
| print(f"Usage: {sys.argv[0]} <post ID>") |
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
| #!/usr/bin/env python3 | |
| BDS = 3 | |
| ALBUMS = 6 | |
| CDS = 9 | |
| options: list[dict] = [] | |
| for bds in range(BDS + 1): | |
| for albums in range(ALBUMS + 1): | |
| for cds in range(CDS + 1): | |
| total = (bds * 9900) + (albums * 3850) + (cds * 1540) |
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 Post score and fav | |
| // @namespace Violentmonkey Scripts | |
| // @match *://*.donmai.us/posts | |
| // @match *://*.donmai.us/ | |
| // @grant none | |
| // @version 1.0 | |
| // @author user #480070 | |
| // @description 7/4/2025, 1:14:55 PM | |
| // ==/UserScript== |
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
| #!/usr/bin/env python3 | |
| import sys | |
| import zlib | |
| from pathlib import Path | |
| if len(sys.argv) > 1: | |
| p = Path(sys.argv[1]) | |
| assert p.exists() | |
| instream = p.open("rb") | |
| else: |
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 Anti-tab | |
| // @namespace Violentmonkey Scripts | |
| // @match *://*.donmai.us/uploads/* | |
| // @grant none | |
| // @version 1.0 | |
| // @author TypeA2 | |
| // @description 3/13/2025, 11:46:28 AM | |
| // @downloadURL https://gist.github.com/TypeA2/72bdde255f33dc05d2264d1a51a9abee/raw/anti-tab.user.js | |
| // @updateURL https://gist.github.com/TypeA2/72bdde255f33dc05d2264d1a51a9abee/raw/anti-tab.user.js |
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
| /* Initial version: 2024-09-06 | |
| * Current version: 2024-09-06 | |
| */ | |
| javascript:void(async () => { | |
| let text = ""; | |
| for (const e of document.querySelector("h2 + div > h1").childNodes) { | |
| console.log(e.nodeName) | |
| switch (e.nodeName) { | |
| case "A": { |
NewerOlder