[Userscript] YourBooru (feeds on the main page) [0.5.37 | 0.9.34]

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
One image is better than thousand of words to describe it so just take a look:
 
full
 
As safe as it can be safe:
 
full
 
$Possibilities:  
  • you can look at 7 predefined feeds:
Hot - porn 6 hours top scoring;
Fresh ponuts every day - actual porn;
Catbooru - I already said, that I was bored, did I not?;
That day in history - top score of current day in previous years;
Watch it again - randomized watch list with images created_at.lte: 1 years ago;
Upvoted - obviously, right?;
Recently uploaded - I had to hide the original image list and there is no easy way to restore it :3
  • you may use YourBooruSettings and visit your normal settings page (Since 0.5.13 YDB:S is included, so you may not to bother about it)
  • some custom tags which you can use at feeds’ query:
Marked as [#] with YDB:Tools is available everywhere
Marked as [!] requires YDB:Tools
__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_SinceLeft — images, created after previous caching;
__ydb_SinceLeftNoNew — same, but exclude images, created after current caching;
__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 [!];
__ydb_OnlyThumb:X — X tag will only be applied in main page view;
__ydb_OnlyFull:X — X tag will only be applied in full feed view.
  • if YDB:Tools installed, you may also use even more custom tags (that turns Feeds into MultiwatchlistTM);
  • if you created too much feeds, you may remove some from main page. There is a special Feeds page for that case;
  • add and edit feed directly from search results.
 
Getting the userscript (0.5.13): GitHub  
Separate settings script (0.9.12, included since Feeds 0.5.13): GitHub  
YDB:Tools (custom tags, multiwatchlist and some more small tweaks which vanilla booru should have, imho) Separate thread  
It requires any of “monkey” plugins: Greasemonkey [(not tested)] or Tampermonkey
 
Suggestions and bug reports are welcome! (before bug report please update both scripts, I may fix something quiet)
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
Added caching, now everything loads way more faster (but sometimes one of default derpibooru’s script crashes if everything was cached and I have no idea why).  
And for some reasons shitton of //@ include and I don’t want to mess up with homepage added separate user.js which allows you edit feeds at settings page  
full  
With this update you may edit your feeds anytime and they will never be reset after future updates/fixes.
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
Added few custom tags:  
  • __ydb_SinceLeaved — include images, created after previous caching;  
  • __ydb_SinceLeavedNoNew — … but exclude images, created after current caching.  
    Of course, caching interval should be large enough, otherwise you may have no time to check new images.
     
    And from now you may use custom tags with regular tags (for example (__ydb_LastYears, twilight sparkle) || pinkie pie may return ((created_at:2016-07-09 || created_at:2015-07-09 || created_at:2014-07-09 || created_at:2013-07-09 || created_at:2012-07-09), twilight sparkle) || pinkie pie)
     
    Settings script now can reset cache for only one feed. Since few changes in caching system, there is a small chance of having broken “Watch feed” link, so you may reset cache of only broken feed.
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
full  
Major changes in Settings userscript:  
  • you may change the order every change causing page reloading, so there is also one new global small feature  
  • support of double-sized feeds (two lines instead of one)
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
Added new feature to settings userscript: sharing feeds. Just go to your settings and find a bunch of Share links. Just copy and paste somewhere. If person has YourBooru:Settings, script may add that feed.
 
So, if you have several PCs, you may just save the links to install at another browser. And sharing, of course.
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
I just found that I accidentally pasted a wrong code in settings script a few weeks ago. If you need that component, please reinstall it manually from link in the first post. Sorry :(
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
Updated to 0.3  
  • added custom tag __ydb_Spoilered — includes all spoilered images  
  • cache now can store votes
     

 
$You may want to know, what YDB:Tools does exactly? Well, look:  
[bq]- custom tag aliases (e.g. “my_tag” -> “tag1 && tag2 && -(tag3 || tag4)”), better described here
- multiwatchlists, better described here
- highlight image uploader and image artist in the comments (also if uploader is artist, it’s also will be highlighted)
- blocks Recent Artwork, Recent Uploads, Recent Favourites and Watched on profile page contains search parameter so you may easily navigate pictures while browsing
- autosizing these blocks to better filling [0.4.25+]  
- ability to close site notifies  
- [optional] expanding both search fields  
- coloring tags at fancy editor  
- badly written links becomes clickable, like https://derpibooru.org, https://trixiebooru.org or https://google.com  
- outgoing links open in new tab  
- onsite link always goes through your current domain (just like Always Your Derpibooru, but in preventing manner)  
- you may write “@” instead of “artist: like @conbudou  
- while looking in gallery, you may go to search in it with correct sorting  
- [optional] you may deactivate downvote to image if you upvoted it and reversal (like that) [0.4.7+]  
- fixing comment button, not loses query [0.4.10+]  
- ability to sort search in gallery by gallery’s order [0.4.12+]  
- [optional] shrinking long posts and comments [0.4.14+]  
- fancy spoilers just look at this post after you install it [0.4.15+]  
*- [optional] immediately hiding images [0.4.17+]  
- old usernames also stored locally and appears on profile page and under user avatar [0.4.23+]  
- __ydb_Unspoil metatag to remove spoilers in current query (don’t try to abuse it by sending unspoiled diapers) [0.4.24+]  
- notes scratchpad in user profiles like in Discord [0.5.7+]  
*- contactlist [0.5.10+]  
- [optional] obvious badges removing [0.5.16+]  
[/bq]
 
Known bugs (aka “toDo”):  
*- No bugs? 🤔  
*- hide/unhide is still buggy
 
Settings todo:  
*- Red heart  
*- Switchable settings fetch  
*- Link parameter support  
*- Lib-based Help and API pages  
*- Telemetry  
*- Fieldsets  
*- Library build
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
All that stuff updated, and some updates need explanation:  
- settings userscript now may create backups of all data saved by scripts under its control on derpibooru server, so all of your settings is available on every PC you use.  
full  
Data compressed and stored in watchlist filter  
full  
Synchronization on server happens after each change of settings (sometimes it cause small popup).  
Synch from server happens each 6 hours or manually.
 
- added option to hide feed from main page. It still available via Sub-header -> Images -> Feeds menu
 
- YDB:Tools allows you to create custom tags, which represents complex expression  
full  
If “As watchlist” checked, it adds a kinda watchlist menu on every tag  
full  
(And if synchronization enabled, switching that option will cause small popup to appear)  
That tags may be used as in regular search, as in Feeds query option
Sff
Inspiration Manifestation - For Patreon supporters
Solar Guardian - Refused to surrender in the face of the Lunar rebellion and showed utmost loyalty to the Solar Empire (April Fools 2023).
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Non-Fungible Trixie -
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Cool Crow - "Caw!" An awesome tagger
Wallet After Summer Sale -
Bronze Bit -
Magnificent Metadata Maniac - #1 Assistant
Happy Derpy! -

What does it mean?!?
After having to clear my cookies because of recent issues with them all my feeds dissapeared, which isn’t a big deal as I managed to recreat them. What is more troublesome is that after I saved them my YDB settings look like this:  
full  
This mean that I can’t edit the feeds (excluding of course deleting everything related to ydb in the localstorage which I had to do after first saving before having added all my feeds when I first tried to restore them.)
Sff
Inspiration Manifestation - For Patreon supporters
Solar Guardian - Refused to surrender in the face of the Lunar rebellion and showed utmost loyalty to the Solar Empire (April Fools 2023).
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Non-Fungible Trixie -
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Cool Crow - "Caw!" An awesome tagger
Wallet After Summer Sale -
Bronze Bit -
Magnificent Metadata Maniac - #1 Assistant
Happy Derpy! -

What does it mean?!?
StSyaN  
Before I recreated my feeds there were no feeds at all, not even the default ones. And the manual backup page leads me to a 404/schrödinger’s pony error. If you want I could send all the things related to ydb from my local/session storage.
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
@Sff  
>And the manual backup page leads me to a 404/schrödinger’s pony error.  
I misspelled link /)_(\. This one works /pages/yourbooru?backup. Actually, you may just send your localstorage, this is the same.
 
>Before I recreated my feeds there were no feeds at all, not even the default ones.  
I repeated that error but I still was able to create feeds from the scratch. Something really strange happened with storage in your case…
Sff
Inspiration Manifestation - For Patreon supporters
Solar Guardian - Refused to surrender in the face of the Lunar rebellion and showed utmost loyalty to the Solar Empire (April Fools 2023).
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Non-Fungible Trixie -
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Cool Crow - "Caw!" An awesome tagger
Wallet After Summer Sale -
Bronze Bit -
Magnificent Metadata Maniac - #1 Assistant
Happy Derpy! -

What does it mean?!?
localStorage._ssf=’{“score”:true,“random”:true,“sizes”:true,“comments”:true,“randomButton”:true,“blink”:true,“override”:false,“preloading”:true,“scoreUp”:true,“sizesUp”:true,“commentsUp”:true,“everyUp”:true,“gallery”:false}’;  
localStorage._ydb_feeds=’{“imagesInFeeds”:6,“doNotRemoveWatchList”:true,“doNotRemoveControls”:true,“watchFeedLinkOnRightSide”:true,“optimizeLS”:true,“feedz”:[{“name”:“Recently Uploaded”,“sort”:“created_at”,“sd”:“desc”,“cache”:0,“ccache”:0,“double”:true,“mainPage”:true,“query”:”*”,“loaded”:true,“url”:{},“container”:{},“temp”:{},“reload”:{},“internalId”:0,“saved”:25271485,“responsed”:6},{“name”:“Hot”,“sort”:“score”,“sd”:“desc”,“cache”:5,“ccache”:null,“double”:true,“mainPage”:true,“query”:“first_seen_at.gt:1 days ago”,“loaded”:true,“url”:{},“container”:{},“temp”:{},“reload”:{},“internalId”:1,“saved”:25271485,“responsed”:6},{“name”:“This Day In History”,“sort”:“score”,“sd”:“desc”,“cache”:0,“ccache”:1440,“double”:true,“mainPage”:true,“query”:”__ydb_LastYears”,“loaded”:true,“url”:{},“container”:{},“temp”:{},“reload”:{},“internalId”:2,“saved”:25271485,“responsed”:6},{“name”:“Old Faves”,“sort”:“random”,“sd”:“desc”,“cache”:5,“ccache”:null,“double”:true,“mainPage”:true,“query”:“my:faves, first_seen_at.lt:6 months ago”,“loaded”:true,“url”:{},“container”:{},“temp”:{},“reload”:{},“internalId”:3,“saved”:25271485,“responsed”:6},{“name”:“Random Featured Images”,“sort”:“random”,“sd”:“desc”,“cache”:5,“ccache”:null,“double”:true,“mainPage”:true,“query”:“featured image”,“loaded”:true,“url”:{},“container”:{},“temp”:{},“reload”:{},“internalId”:4,“saved”:25271485,“responsed”:6}],“hasWatchList”:false}’;  
localStorage._ydb_fs=’{“extended”:true,“scrollSpeed”:20,“scrollMultiply”:5,“staticTime”:20,“staticEnabled”:true,“commentLink”:true,“colorAccent”:false,“style”:“rating”,“button”:“Download this image at full res with a short filename”}’;
 
Here’s the backup info.
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
@Sff  
Just copied, everything loaded just fine.  
full  
Check, if both scripts have last version (should be 0.4.12 and 0.7.1)  
If error is still present, press F12 and show, what’s in the console.
Interested in advertising on Derpibooru? Click here for information!
Champions of Equestria

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