Danbooru (etc...) userscripts

Posted under General

Placeholder1996 said:

late reply, but I recently installed this. I don't currently see the danbooru artist tag on Pixiv or Twitter

This really isn't the proper place to debug things if you're having issues with getting the script to run. Feel free to ask for help on Discord, channel #technical.
.

If you add the ability to copy the settings from the main modal to the queried posts as well (adding/removing any of the basic commentary tags) so that we can batch apply both commentary and their tags, my life is yours.

I scrapped together (because I don't know much JavaScript now) a userscript that adds some extra views to fav groups as an improvement from my CSS for enhancing the experience in relation to private favgroups (forum #312136). It's just a bunch of jQuery overuse to make it all happen.

In comparison to the CSS which adds a red "[Private]" tag before the name of a group, the userscript adds it as a column in the table (adjusts the name column's width to 50% from 60% to fit it) and adds subnav options to see all groups, only public groups and only private groups.

Show
// ==UserScript==
// @name Favgroups privacy helper
// @namespace Violentmonkey Scripts
// @match *://*.donmai.us/favorite_groups*
// @grant none
// @version 1.0
// @author WRS
// @description Add views for public/private favgroups
// @run-at document-end
// ==/UserScript==

const USER_ID = $("body").attr("data-current-user-id");

$("#subnav-help").after(`<a id="subnav-allfavs" class="py-1.5 px-3" href="/favorite_groups?search[creator_id]=${USER_ID}">All My Groups</a>`);
$("#subnav-allfavs").after(`<a id="subnav-openfavs" class="py-1.5 px-3" href="/favorite_groups?search[creator_id]=${USER_ID}&search[is_public]=true">My Public Groups</a>`);
$("#subnav-openfavs").after(`<a id="subnav-closedfavs" class="py-1.5 px-3" href="/favorite_groups?search[creator_id]=${USER_ID}&search[is_public]=false">My Private Groups</a>`);

$("#favorite-groups-table >thead tr >.name-column").replaceWith($('<th width="50%" class="name-column"> Name </th>'));
$("#favorite-groups-table >thead tr >.control-column").before('<th class="privacy-column"> Public? </th>');
$("#favorite-groups-table >tbody tr").each(function(i, e) {
    const IS_PUBLIC = $(this).attr("data-is-public");

    $(this).find('td').eq(-2).after(`<td class="privacy-column"> ${IS_PUBLIC} </td>`);
});

Danbooru Year Resume

Userscript that analyzes all your 2025 posts and creates a visual summary of your trends, something like Spotify Wrapped

https://gist.github.com/whatdoyoucare03/0b8ca1da8ce4cd56a113bdd24a356520/raw/danbooru_year_resume.user.js

The script may have some bugs, I’d appreciate it if you let me know about them.

EDIT: I fixed some bugs and added new features;
-Added a pause button.
-Fixed the bug where when you downloaded the image, part of the results appeared cropped.
-Improved the appearance to avoid issues when using the script on mobile or with high zoom levels.
-Added support for posts that are videos; they should now appear in the "most upvoted post" section (in theory lol).
-Moved the button to the top bar.

Updated by medamayaki

medamayaki said:

Danbooru Year Resume

Userscript that analyzes all your 2025 posts and creates a visual summary of your trends, something like Spotify Wrapped

https://gist.github.com/whatdoyoucare03/0b8ca1da8ce4cd56a113bdd24a356520/raw/92f14588b1e11d58c6161c99d1c7b52528842521/danbooru_year_resume.user.js

The script may have some bugs, I’d appreciate it if you let me know about them.

This is cool; the only thing I'd ask for is a way to pause it so I can absorb what it's telling me a little easier. No other issues for me.

Placeholder1996 said:

This is cool; the only thing I'd ask for is a way to pause it so I can absorb what it's telling me a little easier. No other issues for me.

If you click the left side of the screen, it reverses the time a little, and vice-versa when you click the right side. A pause button would be useful though.

CommentaryRequest said:

Very epic userscript. Though I'd like to ask: does it count original when showing the top copyright tags? I uploaded it more than any other this year, yet it's not in my wrapped.

Thank you! Exactly, the script doesnt show original on purpose

I thought that since it’s not a series it wouldn’t be very interesting to include it in your top 5

medamayaki said:

Danbooru Year Resume

Userscript that analyzes all your 2025 posts and creates a visual summary of your trends, something like Spotify Wrapped

https://gist.github.com/whatdoyoucare03/0b8ca1da8ce4cd56a113bdd24a356520/raw/danbooru_year_resume.user.js

The script may have some bugs, I’d appreciate it if you let me know about them.

EDIT: I fixed some bugs and added new features;
-Added a pause button.
-Fixed the bug where when you downloaded the image, part of the results appeared cropped.
-Improved the appearance to avoid issues when using the script on mobile or with high zoom levels.
-Added support for posts that are videos; they should now appear in the "most upvoted post" section (in theory lol).
-Moved the button to the top bar.

Really cool script, thanks for making it!

Danbooru Insights

Injects a GitHub-style contribution graph and advanced analytics dashboard into Danbooru profile pages.

v6.1 (2026-02-11)

Refactor: enhance GrassApp layout and fix user analytics duplication (v6.1)

  • Added resizable/movable features to GrassApp with per-user IndexedDB storage.
  • Fixed duplicate data rendering in UserAnalyticsApp during refresh. Improved overall dashboard stability and UI constraints.

Updated by AkaringoP

Placeholder1996 said:

I'm getting a 404 error when I try to install it.

"Update link after pushing" someone forgot to update it...

You can still install it by clicking the user.js file and clicking 'Raw'.

edit it was fixed while I was writing this

1 10 11 12 13 14 15 16 17 18 19