Add buttons to switch between Danbooru and Gelbooru searches
นี่คือเวอร์ชันของสคริปต์นี้ที่โค้ดมีการอัปเดต แสดงเวอร์ชันทั้งหมด
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