[Userscript] YouBooru:Tools [0.8.0] (everything what you ever imagined and even more)

stsyn
Lunar Supporter - Helped forge New Lunar Republic's freedom in the face of the Solar Empire's oppressive tyrannical regime (April Fools 2023).
Elements of Harmony - Had an OC in the 2022 Community Collab
Non-Fungible Trixie -
Twinkling Balloon - Took part in the 2021 community collab.
Notoriously Divine Tagger - Consistently uploads images above and beyond the minimum tag requirements. And/or additionally, bringing over the original description from the source if the image has one. Does NOT apply to the uploader adding several to a dozen tags after originally uploading with minimum to bare tagging.
Best Artist - Providing quality, Derpibooru-exclusive artwork
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Economist -
Cool Crow - "Caw!" An awesome tagger
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes

Moderator
This is not how userscripts should be done. But I didn’t expect that thing, which was started 6 month ago as simple function tool, will became a huge handyman (tbh, 20 small scripts is even worse). About 80% of everything here probably most of us want to see on Derpibooru without userscripts.
 
Get it there GitHub  
Most features requires YouBooru:Settings, which probably will work even if you don’t install it, but still: GitHub  
Works with YouBooru:Feeds: Forum thread
 
Tweak CSP to make it work
 
Requires any of “monkey” plugins: Greasemonkey Tampermonkey
 
Huge detailed and probably incomplete manual:
 
$Images and search related
$Custom tags aliases
Allows you to define custom tags which represents complex expression. Overrides normal tags. Replacing is recursive. Works only with normal search (not in watchlist, filters, tag editors). “Do not pare page name” option will show in page header actual search string (not what you entered), mostly only for debug purposes.
Requires YDB:Settings to configure, supports YDB:Feeds.
full
$Multiwatchlists
Each tag has option “As watchlist”. If checked, tag name will appears in dropdown for each normal tag and it will work as “Watch/Unwatch”. All tags in that tags expression will be separated by ||. If tag expression was edited manually (not watch/unwatch) or checked “As watchlist”, all components will be checked for actual aliases and existence. For stability reasons do not manually edit more than 1 tag at once.
Requires YDB:Settings to configure, supports YDB:Feeds.
full
$YDB tags
Custom YDB tags from YDB:Feeds also supported.
__ydb_LastYears:X — images uploaded at that day in past years. :X works as in __ydb_DaysAgo;
__ydb_LastYearsAlt:X — same but uses “first_seen_at” instead of “created_at”. :X works as in __ydb_DaysAgo;
__ydb_Spoilered — includes all your spoilered images;
__ydb_Unspoil — metatag, all spoilers will be removed if tag exist in query;
__ydb_Yesterday — uploaded yesterday;
__ydb_DaysAgo:X — uploaded X days ago
For __ydb_Unspoil YDB:Settings is strongly recommended.
There is a dropdown for easy typing.
full
$@artist
Allows you to write @artistname instead of artist:artistname.
full
$Colored tags editor
Makes tags in fancy tag editor looks like… like tags… Pfft, just look at the screenshot. Character and episodes tags may be uncolored since it uses handcrafted database.
full
$Immediate image hiding
Replaces image with filler right in the moment when you clicked “Hide”.
Enabled by default, use YDB:Settings to disable, supports YDB:Feeds.
full
$Hiding downvote if upvoted
Hides “downvote” and “hide” buttons if you clicked “fave” or “upvote” and vice versa mostly to evade missclicking downvoting upvoted images. Keyboard shortcuts still works, though.
Disabled by default, use YDB:Settings to enable, supports YDB:Feeds.
full
$Galleries things
If you browse the gallery, you may instanly open it in search.
While in search, you may use gallery sorting (if it possible).
Also it’s the only way to add feed with gallery sorting.
full
$Similar images
Added ability to override site’s related images page with a bit rougher but limitless search expression.
Disabled by default, use YDB:Settings to enable.
 
$User related
$Showing all old names
In comment sections and forum post “AKA old names” will appear even if 14 days of showing old name is expired. All data is collected by parsing “previously known as” appendix, and doesn’t backup cloudly even if you have installed YDB:Settings with this option enabled.
Cannot be disabled right now because it hardcoded into userbase thingie, used by some functions, and you probably don’t want some parts of data be lost by renaming.
full
$Highlighting uploader and artists in comments
In comment section uploader will be showed with “(OP)” and artists will have green background behind their name. Based on parsing artist tag info, parsing is limited by 5 unknown artists (uses userbase as cache).
Since 0.5.42 editors and since 0.5.43 also colorists highlighting with orange color.
full
$Personal scratchpads
Adds input area to profile page, just like in Discord. Content may be revealed by hovering profile link in comments/posts. No chars limit, just don’t put War and Peace here.
full
$Contact list
Replaces “Messages” link in dropdown profile menu with “Contacts” where … you can see your contacts. There is also a link in profile “Add to contacts”. Also shows first 100 chars from scratchpad (or until first linebreak).
full
$Cutting down obvious badges
If you see “Really classy artist” badge, “Artist” badge will give you no additional info, won’t it? Screenshots before and after.
2/3 enabled by default (doesn’t hide same level donation based badges), use YDB:Settings to configure.
full
full
 
$Site UI related
$Site notifies
Notifies as news may be closed. There is also an option to close all notifies automatically (you will be warned). If you accidentally closed one you intrested, there is “Reset” option. Check it once and save.
Requires YDB:Settings to configure.
$Notifications
Allows to immediately read all notification or all notifications about merging images. No idea, how it will work with pagination.
full
$Link fixes in profile art blocks
Recent Artwork, Uploads, Favourites and Watched (from main page) will have correct search parameter (while normal DB lacks in it) allows you navigate directly.
$Expanding profile art blocks
Because orignal ones feel weird because of using ~70-80% of width.
full
$Expanding search fields
Making them multiline. Top one expands on hover.
Enabled by default, use YDB:Settings to disable, use SSF to make top search more powerful.
full
full
$Reverting back page headers
Just because I don’t like how new one handles long text.
Enabled by default, use YDB:Settings to disable.
full
$Fixing comments link
Because right now #comments link goes without search parameters.
$Custom spoilers
Allows to determine custom spoiler images. See #post_3824607 for details.
full
$Shortcuts
Allows to determine custom dropdown menu in subheader.
full
 
$Comments and Forum related  
$Clickable spoilers
You probably want to know, why each underlined text starts with $.
Works also with [spoiler] tag.
full
$Shrinking long posts and comments
If post is longer than you specified, it will be cut down. If you want to disable it, just write absurdly large value in settings.
Enabled by default, use YDB:Settings to configure.
full
$Clickable links
$Same domain links
All links, goes to different derpi domain, now will lead you to current one. Just like “Always Your Derpibooru” but in preventing manner (since my ISP blocks 50% domains of booru and script cannot load).
$Outside links
All third party links now opens in new tab. There is “nofollow noreferrer” parameter, don’t worry.
$Greentext
>User was banned for adding that feature
Disabled by default, use YDB:Settings to enable.
Binkyt11
Tree of Harmony - Drew someone's OC for the 2022 Community Collab
Elements of Harmony - Had an OC in the 2022 Community Collab
Non-Fungible Trixie -
Verified Pegasus - Show us your gorgeous wings!
Preenhub - We all know what you were up to this evening~
Philomena - For helping others attend the 2021 community collab
Twinkling Balloon - Took part in the 2021 community collab.
Ten years of changes - Celebrated the 10th anniversary of MLP:FiM!
My Little Pony - 1992 Edition
Best Art Program Ever - For artists who were courageous enough to draw something for the April Fools day.

Sleep isn't real.
This looks fucking rad man. Keep it up! :D Also I’m glad to see the hidden image spoilered image being put to use here! Means a lot!
stsyn
Lunar Supporter - Helped forge New Lunar Republic's freedom in the face of the Solar Empire's oppressive tyrannical regime (April Fools 2023).
Elements of Harmony - Had an OC in the 2022 Community Collab
Non-Fungible Trixie -
Twinkling Balloon - Took part in the 2021 community collab.
Notoriously Divine Tagger - Consistently uploads images above and beyond the minimum tag requirements. And/or additionally, bringing over the original description from the source if the image has one. Does NOT apply to the uploader adding several to a dozen tags after originally uploading with minimum to bare tagging.
Best Artist - Providing quality, Derpibooru-exclusive artwork
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Economist -
Cool Crow - "Caw!" An awesome tagger
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes

Moderator
Relatively big update:  
fixed comments image preview (if booru won’t fix it, then we will fix it);  
— implemented groups in contact list;  
— for group “Friends” there are highlights in “List favorites” tab under each image (“X, Y and Z more your friends faved this image”);  
— “Created by …” line around “Uploaded by…” if there is an artist profile with verified link. Fetching commission status at the same time, but it’s heavily cached (2 weeks);  
— almost a year passed, “Read merging” at notifies works again;  
— some internal optimizations and bug fixes.
PUBLIQclopAccountant
Magnificent Metadata Maniac - #1 Assistant
Solar Guardian - Refused to surrender in the face of the Lunar rebellion and showed utmost loyalty to the Solar Empire (April Fools 2023).
Non-Fungible Trixie -
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice

IRL 🎠 stallion
Bug report: this script breaks hover previews on replies to comments when used in conjunction with Derpibooru Comment Enhancements. The hover previews still work when showing responses, but they do not activate when it’s supposed to display the parent.
Posted Report
Interested in advertising on Derpibooru? Click here for information!
Ponies Online! - April 13-14

Help fund the $15 daily operational cost of Derpibooru - support us financially!

Syntax quick reference: **bold** *italic* ||hide text|| `code` __underline__ ~~strike~~ ^sup^ %sub%

Detailed syntax guide