Danbooru to Gelbooru Search Switcher and vice versa

Add buttons to switch between Danbooru and Gelbooru searches

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
FunkyJustin
Daily installs
0
Total installs
40
Ratings
1 0 0
Version
0.9
Created
2024-03-27
Updated
2025-10-31
Size
3.49 KB
License
MIT
Applies to

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