Userscripts / Customization

Marker
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Magnificent Metadata Maniac - #1 Assistant
Not a Llama - Happy April Fools Day!

Misanthrope
@Jarkes
Ooh right, you were talking about complementary colors! Sorry, I somehow missed that.

@The Equestrian Zodiac
Yep, the part of the script that add new CSS was broken by the CSP.

Now, there are two ways to get around it. If you use Tampermonkey on Chrome, or use Violentmonkey on Chrome or Firefox, you can install this modified version of the script.

If you use some other userscript managers or if the modified script doesn't work for you. You'll need to install browser extension to either modify or disable CSP for Derpibooru. For Firefox users you should follow Sollace's instructions here in the 'additional note' section. For Chrome users, I recommend installing Disable Content-Security-Policy.
Posted Report
GenericArchangel
GenericArchangel - For supporting the site
Bronze Supporter - Bronze Supporter
My Little Pony - 1992 Edition
Friendship, Art, and Magic (2020) - Took part in the 2020 Community Collab
A Perfectly Normal Pony - I will get that badge one day even if it's the death of me.
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice
Wallet After Summer Sale -

Free the Tantabus
How much slowdown is considered normal while using userscripts? I'm experiencing a massive spike in ping times, wondering if that's normal.
Posted Report
GenericArchangel
GenericArchangel - For supporting the site
Bronze Supporter - Bronze Supporter
My Little Pony - 1992 Edition
Friendship, Art, and Magic (2020) - Took part in the 2020 Community Collab
A Perfectly Normal Pony - I will get that badge one day even if it's the death of me.
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice
Wallet After Summer Sale -

Free the Tantabus
@Sollace
I'm not sure if it's ping then, the number at the bottom of the site measuring something in ms? I just started using userscripts and it spiked from 30-60ms to 450-650ms.
Posted Report
Sollace
My Little Pony - 1992 Edition
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.
A Really Hyper Artist - 500+ images under their artist tag
Wallet After Summer Sale -
Friendship, Art, and Magic (2019) - Celebrated Derpibooru's seventh year anniversary with friends
Best Artist - Providing quality, Derpibooru-exclusive artwork
A Really Classy Artist - 250+ images under their artist tag
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice
Not a Llama - Happy April Fools Day!
An Artist Who Rocks - 100+ images under their artist tag

Really likes Pear Butter
@GenericArchangel
That number is rendered on the server. It typically measures things like database queries and rendering time, so it's definitely not anything to do with you.

I get the idea byte[] probably knows what it was, though. X3
Posted Report
NamelessNP
Glim Glam - Derpi Supporter
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Ruby -
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Equality - In our state, we do not stand out.
Bronze Supporter - Bronze Patron
Not a Llama - Happy April Fools Day!
Happy Derpy! -
The End wasn't The End - Found a new home after the great exodus of 2012

Starlight fan since 2016
Is there a standalone script to fix the recent comments bug?
I know YourBooru has a fix but it does a bunch of things I don't want but can't disable
Posted Report
loxaxs

Derpibooru Score Sort

Allow to quickly sort posts by score on Derpibooru

https://gist.github.com/loxaxs/53b787096c2113bfbebf98b6fbe9693a
Sollace
My Little Pony - 1992 Edition
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.
A Really Hyper Artist - 500+ images under their artist tag
Wallet After Summer Sale -
Friendship, Art, and Magic (2019) - Celebrated Derpibooru's seventh year anniversary with friends
Best Artist - Providing quality, Derpibooru-exclusive artwork
A Really Classy Artist - 250+ images under their artist tag
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice
Not a Llama - Happy April Fools Day!
An Artist Who Rocks - 100+ images under their artist tag

Really likes Pear Butter
Hoi.

Updated mah userscript and all my userstyles to work on philomena. You shouldn't need any messing around with CSP to get them to work any more either.

Huaw.
Marker
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Magnificent Metadata Maniac - #1 Assistant
Not a Llama - Happy April Fools Day!

Misanthrope
@Sollace
The GM_addStyle workaround for Violentmonkey suddenly stopped working on Firefox a while ago. I wouldn't realize there's still a working bypass were it not for your post, so thanks for that.

By the way, it seems just setting the injection method to 'content' alone isn't enough to get the CSS working. It took some trial and error, it turns out I had to remove the GM_addStyle permission as well, otherwise the script will just fail silently except for some cryptic CSP error message.
Sollace
My Little Pony - 1992 Edition
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.
A Really Hyper Artist - 500+ images under their artist tag
Wallet After Summer Sale -
Friendship, Art, and Magic (2019) - Celebrated Derpibooru's seventh year anniversary with friends
Best Artist - Providing quality, Derpibooru-exclusive artwork
A Really Classy Artist - 250+ images under their artist tag
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice
Not a Llama - Happy April Fools Day!
An Artist Who Rocks - 100+ images under their artist tag

Really likes Pear Butter
@Marker
Yeah, you have to manually create the style node, set the innerHTML to your css, and append it to the dom after the body. That gives it permissions to operate above the CSP.

I don't use GM_addStyle, or really any gm methods. Most of my script are "grant none" because that disables sandboxing.
Sollace
My Little Pony - 1992 Edition
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.
A Really Hyper Artist - 500+ images under their artist tag
Wallet After Summer Sale -
Friendship, Art, and Magic (2019) - Celebrated Derpibooru's seventh year anniversary with friends
Best Artist - Providing quality, Derpibooru-exclusive artwork
A Really Classy Artist - 250+ images under their artist tag
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice
Not a Llama - Happy April Fools Day!
An Artist Who Rocks - 100+ images under their artist tag

Really likes Pear Butter
Oh hey! Good news!

I got both Violentmonkey and Stylus working on the mobile version of Firefox.
Marker
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Magnificent Metadata Maniac - #1 Assistant
Not a Llama - Happy April Fools Day!

Misanthrope
All of my scripts should be updated to work for Philomena now, with the minor exception of the Image Preloader, it works, but is still using the old API.

EDIT: NOPE. Apparently the changes needed to get around the styling restriction on VIOLENTMONKEY doesn't work on TAMPERMONKEY. Tampermonkey users should switch extension or, if unwilling or unable, just install this or this and be fucking done with it.
Ecstatis

Has the policy to be used with Laboratory updated? Some while ago when I entered the site with the policy enabled it would block all CSS files for the site. Disabling it fixed that though, with my script still working. It's still working now except that I'm not able to add any CSS rules. It's always giving me the error:
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”).

I'm not using any of Violentmonkey's native functions and would like to keep it that way, so up until now I've always created and appended a style element to the document head and inserted the rules to its stylesheet dynamically. Is there a workaround to this, or an updated CSP policy maybe?
Sollace
My Little Pony - 1992 Edition
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.
A Really Hyper Artist - 500+ images under their artist tag
Wallet After Summer Sale -
Friendship, Art, and Magic (2019) - Celebrated Derpibooru's seventh year anniversary with friends
Best Artist - Providing quality, Derpibooru-exclusive artwork
A Really Classy Artist - 250+ images under their artist tag
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice
Not a Llama - Happy April Fools Day!
An Artist Who Rocks - 100+ images under their artist tag

Really likes Pear Butter
@Ecstatis
For ViolentMonkey you have to use:

// @inject-into content // @grant none

And create your stylesheet like this:

const element = document.createElement('STYLE'); element.setAttribute('type', 'text/css'); element.innerHTML = ` .comment_box_flex { display: flex; }`; document.body.insertAdjacentElement('afterend', element);
Interested in advertising on Derpibooru? Click here for information!
You shall be stuck... in this Fluttershy's cuteness!

Derpibooru costs over $25 a day to operate - help support us financially!

Syntax quick reference: *bold* _italic_ [spoiler]hide text[/spoiler] @code@ +underline+ -strike- ^sup^ ~sub~