Danbooru (etc...) userscripts

Posted under General

Sibyl said:

๐Ÿ’พ Auto Saver

Save the content in textboxes on the upload page automatically, including tags and translated commentary.

Install

this userscript stopped working for me 1/2 days ago, no longer saves content of tag box
tampermonkey says that it was updated 5 days ago, what broke?
i did not update my browser or change anything manually

the code is showing errors in 3 lines:
33 & 34 ~ eslint: no-undef - 'Danbooru' is not defined.
72 ~ eslint: no-fallthrough - Expected a 'break' statement before 'case'

Sibyl said:

I tested the script in Chrome, and it seems the issue is caused by recent changes in Tampermonkey. Please try following the steps described at this link: https://www.tampermonkey.net/faq.php#Q209.

The recent script update only fixes bugs.

thank you very much for the quick reply
i tried the solution in chrome (i am firefox though), but it did not work either unfortunately
your other userscript for banned posts did not break with those changes, if that means something

Iroshi2020qsound said:

Sorry, I donโ€™t have enough information to pinpoint the issue at the moment, as the script works correctly in Firefox and Tampermonkey. You can try pressing F12, expanding Indexed DB under Storage, deleting AutoSavedDB, and then refreshing the page to see if that helps.

Sibyl said:

Sorry, I donโ€™t have enough information to pinpoint the issue at the moment, as the script works correctly in Firefox and Tampermonkey. You can try pressing F12, expanding Indexed DB under Storage, deleting AutoSavedDB, and then refreshing the page to see if that helps.

thank you, i also tried that but did not work either (after it is fully deleted, it does not appear again even after reinstall or browser reset)
at least i learned that hotkey shortcut is faster to pull up the console (before i use control+shitf+c), something good
for the time being, i will wait for tampermonkey to make up their minds

Danbooru Grouping Tags

https://github.com/AkaringoP/JavaScripts/tree/main/GroupingTags

In images featuring multiple characters, the tag list can often become chaotic and mixed. This script allows you to create groups for each character, providing visual aids that make it easier to identify which tags belong to whom.

https://github.com/AkaringoP/JavaScripts/raw/build/groupingtags.user.js

v1.0 (2026-01-26)
  • Group Syntax in Editor: Create groups directly in the tag edit window using the groupName[ tag1 tag2 ] syntax. This feature can be easily toggled on or off with a switch.
  • Sidebar Management: Use the circle buttons in the sidebar to visually assign tags to existing groups or create new ones instantly.
  • Cloud Sync & Sharing: Utilizes IndexedDB for local storage and GitHub Gist for remote backup, enabling seamless synchronization across devices and sharing between users.

Updated by AkaringoP

Danbooru Insights

Danbooru Insights (formerly Danbooru Grass) is a comprehensive analytics suite for Danbooru users and tags. It injects GitHub-style contribution graphs and advanced dashboards directly into profile and wiki pages.

https://github.com/AkaringoP/JavaScripts/raw/refs/heads/main/DanbooruInsights/DanbooruInsights.user.js

v6.0 (2026-02-10)
  • GrassApp
    • Fixed: Resolved a issue in the Hourly Distribution chart where data values would double every time the page was reloaded.
  • TagAnalyticsApp
    • This app supports for Artist, Copyright, and Character tags.
    • Comprehensive Tag Insights: Access a wealth of historical data and metrics(Monthly/Cumulative post count, Milestones, Uploader/Approver ranking, Pie chart for related tags, etc.)
    • Please note that Milestones may have slight inaccuracies.

Updated by AkaringoP

It might be worthwhile for you to start a dedicated topic for Danbooru Insights if you're pushing this many updates on it so it's easier to track development than posting them all in this megathread which in turn could drown out other posts, particularly if you're posting your changelogs as completely new posts. BrokenEagle made one for EventListener for example (topic #14747). It's also helpful for discussion and feedback on the script directly.

medamayaki said in forum #399086:

Userscript that scans the artists of newly uploaded Pixiv illustrations and checks which of them already exist on Danbooru, highlighting them with a green outline. If an artist is on Danbooru but has any post tagged as ai-generated or ai-assisted, the script highlights them in orange instead.

https://gist.github.com/whatdoyoucare03/695b4dc5e3d8061637f7cd27b665664f/raw/4d34f6ec9b29eaa0c63d48ef60b37e09e907c878/pixiv_danbooru_checker.user.js

Danbooru Artist Checker (DAC) 2.0

Userscript that automatically hides any Pixiv post unless the artist already exists on Danbooru and has no posts tagged as ai-assisted or ai-generated

A useful tool to improve efficiency when searching on Pixiv

The userscript might have some bugs, sorry

Version 2.0

https://gist.github.com/whatdoyoucare03/5595e4b5035ca2c987bc4f060126a292/raw/4d9f5b3edd68dba4f41c0aa6047006275e3cd6b1/danbooru_artist_checker.user.js

Edit: I know this userscript might be a bit drastic since it filters everything; I actually created it primarily for searching through very popular tags. If you prefer something less invasive, version 1.0 works the same way without hiding any posts.

Version 1.0

https://gist.github.com/whatdoyoucare03/695b4dc5e3d8061637f7cd27b665664f/raw/60952fa91cfa5e2ede12591002948355c704deb1/pixiv_danbooru_checker.user.js

Updated by medamayaki

https://gitlab.com/bipface/post-version-ingester

This is an example script to demonstrate using the post versions API to fetch new versions in a continuous manner.
You could also consider it: Post Versions - the unofficial tutorial.
The readme file explains the technique in depth, I recommend reading it if you're planning to use the versions API and you aren't already intimately familiar with its facets.

I created this because it occurred to me that most of the information covered here was not written anywhere else, which is a serious concern given how much room for error this API presents. I hope it helps future implementers access the versions API with a greater level of robustness.

Danbooru Post Timeline

Tracks the journey from source platform to Danbooru by showing when the artwork was originally published, when the media asset was uploaded, and when the post was created.
Supports links from Pixiv, X(Twitter), and Bluesky for now.

This script can help you understand uploader (or artist) tendencies โ€” whether they carefully tag before hitting Submit, whether they're a sniper, whether they're uploading artwork that was originally published long ago, or racing to upload the latest works within seconds.

https://github.com/AkaringoP/JavaScripts/raw/refs/heads/main/PostTimeline/PostTimeline.user.js

Updated by AkaringoP

AkaringoP said in forum #423829:

Danbooru Post Timeline

Tracks the journey from source platform to Danbooru by showing when the artwork was originally published, when the media asset was uploaded, and when the post was created.
Supports links from Pixiv, X(Twitter), and Bluesky for now.

This script can help you understand uploader (or artist) tendencies โ€” whether they carefully tag before hitting Submit, whether they're a sniper, whether they're uploading artwork that was originally published long ago, or racing to upload the latest works within seconds.

https://github.com/AkaringoP/JavaScripts/raw/refs/heads/main/PostTimeline/PostTimeline.user.js

This is a neat userscript. One question, on post #10988248 it says it was posted one year after the asset was created but I hadn't started uploading yet a year ago. I'm guessing this means someone else made it an asset and never got around to posting it?

AkaringoP said in forum #423829:

Danbooru Post Timeline

Tracks the journey from source platform to Danbooru by showing when the artwork was originally published, when the media asset was uploaded, and when the post was created.
Supports links from Pixiv, X(Twitter), and Bluesky for now.

This script can help you understand uploader (or artist) tendencies โ€” whether they carefully tag before hitting Submit, whether they're a sniper, whether they're uploading artwork that was originally published long ago, or racing to upload the latest works within seconds.

https://github.com/AkaringoP/JavaScripts/raw/refs/heads/main/PostTimeline/PostTimeline.user.js

Even if it's just a userscript, something that tracks the date of a specific source's post date is something I always wanted, so I really appreciate the effort that went into this.

...Also, wow I had my latest Pinterest dive treasures in my assets for a whole week? Sheesh, I must be losing my edge or something. Or just more busy.

1 13 14 15 16 17 18 19