Sleazy Fork is available in English.

Danbooru to Gelbooru Search Switcher and vice versa

Add buttons to switch between Danbooru and Gelbooru searches

Aŭtoro
FunkyJustin
Ĉiutagaj instaloj
0
Tutaj instaloj
25
Ratings
0 0 0
Versio
0.7
Kreita
2024/03/27
Ĝisdatigita
2024/06/05
Licenco
MIT
Aplikiĝas al

This is a userscript generated by ChatGPT, personally made to assist me in searching on either Gelbooru and Danbooru. I'm uploading it for my own personal archive and if others are interested in it, to be able to install it.

Note: This does not let you search a post's counterpart on the other website, it only copies the tags you searched to the other website.

PS: I'm not a programmer, I don't know Javascript and I'm too lazy to read on it, but I know some basic coding on Python and HTML. This is probably not going to get
updated and you are free to make your own derivations of this to further improve it.


Changelog:

0.7: URL Filtering: Enhanced the script to ensure that the "Search on Gelbooru" button only appears on Danbooru search result pages and not on individual post pages. This change prevents the button from being shown on URLs like https://danbooru.donmai.us/posts/7632277.

Code Optimization: Refined the conditions for adding buttons to make sure they only appear when the URL includes search parameters (?tags=) and not just any /posts/ page.

0.6: made button become translucent when not directly hovering over it with mouse and opaque when hovered over

0.5: initial version