2024 Community Collab - we're pleased to announce yet another iteration of our annual collaborative mega-picture! Click here to check it out!

Posts

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

Search Results

Site and Policy » [Userscript resource] Unified Userscript UI Utility -- User settings made simple » Post 1

barbeque
Roseluck - Had their OC in the 2023 Derpibooru Collab.
Elements of Harmony - Had an OC in the 2022 Community Collab
Non-Fungible Trixie -
Twinkling Balloon - Took part in the 2021 community collab.
Friendship, Art, and Magic (2018) - Celebrated Derpibooru's six year anniversary with friends.
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice
Magnificent Metadata Maniac - #1 Assistant
Thread Starter - Tag alias request thread
Artist -
Bronze Bit -

Nice! Way back (way, way back) I used a self-written one that also had some options to save things (I don’t use these parts anymore, since most of what it did is now in the site itself) but it was ugly as hell. It just added some divs to the (then single-page) Settings page. I think to this very day there’s still some leftover settings cluttering up my LocalStorage, but I’m too lazy to clean it up.
 
Starred the repo though, perhaps I’ll use it to finally publish the one userscript that enables one of the April Fools modes or something.

Site and Policy » [Userscript resource] Unified Userscript UI Utility -- User settings made simple » Topic Opener

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

Misanthrope
Intro  
I love writing userscripts for Derpibooru, but one thing I always have trouble with is implementing user-changeable settings in my scripts. Despite my desire to give users more flexibility in how my scripts are run, it’s a hassle to create, style, and find a place to insert the input elements, to bind event listeners to those inputs, and to manage how they are kept in local storage.
 
Which is the reason I wrote this utility script, and I’m posting it here in the hope that some of you will find it useful too.
 
What is it?  
Unified Userscript UI Utility, or Derpi4U, allows you to add user settings that could be easily accessed and persists across script updates. All the settings registered with the script could be accessed on Derpibooru’s Settings page, under the new ‘Userscript’ tab created by Derpi4U. This give the users a central location to access their various script settings, while also prevent cluttering of the site UI.
 
How do I use it?  
For detailed information on how to get started, visit the GitHub page.  
To see examples of real-life usage, Derpi4U is used by Derpibooru Comment Enhancements and WebM Volume Toggle.  
And if you have any further question concerning the script and its usage, I would be happy to help you with them.
 
Screenshot  
full
 
(I know how pretentious the name is, but I couldn’t resist the opportunity to banepost. So it’s either UUUU or something terribly vague and generic.)

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