Posts

For more information, see the search syntax documentation. Search results are sorted by creation date.

Search Results

Site and Policy » Userscripts / Customization » Post 86

Site and Policy » Userscripts / Customization » Post 85

Sollace
Lunar Champion - Led the charge of major battles for the New Lunar Republic, bringing swift and crushing defeat to the forces of the Solar Empire (April Fools 2023).
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~
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

I am the night!
@Blissful690
On the page where it lists your installed styles click [options] then scroll down and turn on “adjust page CSP to allow style content”.
I don’t know why they changed it, but that’s what fixed it for me.

Site and Policy » Userscripts / Customization » Post 84

Blissful690
Solar Supporter - Fought against the New Lunar Republic rebellion on the side of the Solar Deity (April Fools 2023).

Violet Frost Fan
Welp, Stylus is officially dead now. It’s now only showing the default icons for faving, upvoting, downvoting and comments rather than the pony OCs that represent them.

Site and Policy » Userscripts / Customization » Post 83

Site and Policy » Userscripts / Customization » Post 82

Site and Policy » Userscripts / Customization » Post 81

Background Pony #4C7A
So I’ve gotten a little tired of doing this little dance…
…whenever I’m trying to click on a tag in the middle of the tag soup, here’s a dirty, hacky way of adding half a second of delay to the dropdown using CSS:
Same here, except I wrote it as:
.tag.dropdown>.dropdown__content { display: block; min-width: 100%; z-index: 999;
	visibility: hidden; transition-delay: 0.25s; }
.tag.dropdown:hover>.dropdown__content { visibility: visible; transition: 0s 1s visibility; }

Is there a Userscript to change the Voteicons back to Votepones?

Site and Policy » Userscripts / Customization » Post 80

Site and Policy » Userscripts / Customization » Post 79

Site and Policy » Userscripts / Customization » Post 78

Site and Policy » Userscripts / Customization » Post 77

Site and Policy » Userscripts / Customization » Post 76

Sollace
Lunar Champion - Led the charge of major battles for the New Lunar Republic, bringing swift and crushing defeat to the forces of the Solar Empire (April Fools 2023).
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~
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

I am the night!
@Ecstatis  
I thought of that as well.
 
Simple solution is to put the css you want to change into a separate style element and give it an id. Then either replace the contents (I’m not sure if that will cause problems with CSP) or remove and re-add the element.
 
Strangely, I think the inline styling my script applies directly to elements is also excempt from CSP controls. Either that or it’s just not required. full

Site and Policy » Userscripts / Customization » Post 75

Ecstatis

@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);
 
Yeah I’ve seen that in your post above already, my only gripe with that though is that it would make dynamically adding and removing rules (as I already mentioned that I need) quite cumbersome. Well I guess I could just store the rules and update the style HTML on every change instead, although I’m not quite confident that this will work properly.
 
EDIT: Oh well nevermind, it works just fine now. Thank you :)

Site and Policy » Userscripts / Customization » Post 74

Site and Policy » Userscripts / Customization » Post 73

Site and Policy » Userscripts / Customization » Post 72

Site and Policy » Userscripts / Customization » Post 71

Sollace
Lunar Champion - Led the charge of major battles for the New Lunar Republic, bringing swift and crushing defeat to the forces of the Solar Empire (April Fools 2023).
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~
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

I am the night!
@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);

Site and Policy » Userscripts / Customization » Post 70

Site and Policy » Userscripts / Customization » Post 69

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?

Site and Policy » Userscripts / Customization » Post 68

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.

Site and Policy » Userscripts / Customization » Post 67

Site and Policy » Userscripts / Customization » Post 66

Sollace
Lunar Champion - Led the charge of major battles for the New Lunar Republic, bringing swift and crushing defeat to the forces of the Solar Empire (April Fools 2023).
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~
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

I am the night!
@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.

Site and Policy » Userscripts / Customization » Post 65

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.

Site and Policy » Userscripts / Customization » Post 64

Sollace
Lunar Champion - Led the charge of major battles for the New Lunar Republic, bringing swift and crushing defeat to the forces of the Solar Empire (April Fools 2023).
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~
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

I am the night!
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.

Site and Policy » Userscripts / Customization » Post 63

Site and Policy » Userscripts / Customization » Post 62

Default search

If you do not specify a field to search over, the search engine will search for posts with a body that is similar to the query's word stems. For example, posts containing the words winged humanization, wings, and spread wings would all be found by a search for wing, but sewing would not be.

Allowed fields

Field SelectorTypeDescriptionExample
authorLiteralMatches the author of this post. Anonymous authors will never match this term.author:Joey
bodyFull TextMatches the body of this post. This is the default field.body:test
created_atDate/Time RangeMatches the creation time of this post.created_at:2015
idNumeric RangeMatches the numeric surrogate key for this post.id:1000000
myMetamy:posts matches posts you have posted if you are signed in. my:posts
subjectFull TextMatches the title of the topic.subject:time wasting thread
topic_idLiteralMatches the numeric surrogate key for the topic this post belongs to.topic_id:7000
topic_positionNumeric RangeMatches the offset from the beginning of the topic of this post. Positions begin at 0.topic_position:0
updated_atDate/Time RangeMatches the creation or last edit time of this post.updated_at.gte:2 weeks ago
user_idLiteralMatches posts with the specified user_id. Anonymous users will never match this term.user_id:211190
forumLiteralMatches the short name for the forum this post belongs to.forum:meta