Add buttons to switch between Danbooru and Gelbooru searches
These are versions of this script where the code was updated. Show all versions.
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.
made button become translucent when not directly hovering over it with mouse and opaque when hovered over