[Userscript] Booru Switcher

Marker
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Magnificent Metadata Maniac - #1 Assistant
Not a Llama - Happy April Fools Day!

Misanthrope
Booru Switcher
 
Let’s you quickly switch between Philomena-based boorus. Primarily intended for quickly comparing tags and searches across sites.
 
Requires Violentmonkey or compatible userscript manager.  
Click here to install from Github
 
Screenshot  
full
 
Known issue  
There’s a bug where the file hash returned by the site’s API doesn’t match the actual file.
 
If such an image was downloaded from Site A then uploaded to Site B. Trying to search for the image from Site A would find no result. As a workaround, you can ctrl + click the link again to force the script to download the full image and compute the hash client side.
 
This let you search on Site A for images that had been uploaded to Site B. However, it won’t work for the inverse, i.e. find the source image on Site A from Site B. So, when client-side hashing fails to yield result, the script uses Philomena’s reverse image search function as the final fallback.
Marker
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Magnificent Metadata Maniac - #1 Assistant
Not a Llama - Happy April Fools Day!

Misanthrope
Changelog for version 1.1.0:  
  • Enabled on image pages: Added the ability to search for an image by its file hash, and redirects to it if found.
Background Pony #0A93
How do I know this doesn’t steal my passwords and other personal data?
 
Or that it won’t leak to the onwers of any of those alternative sites?
TrickySpirit

@Background Pony #0A93  
The code is posted right there as a JS. There doesn’t appear to be any bit that really reads anything besides the hash of the files uploaded. Besides that it’s just a whole lot of UI stuff and get requests from the image servers for images.
 
Granted I don’t really plan to use it because as of yet I see no reason to go to any of those websites, but there’s nothing nefarious about this program.
 
Edit: Granted I’m not a coder, I just know how to read code. AKA, like putting together a puzzle where all the pieces fit, I’m garbage at constructing the puzzle, but I can put together bits and bobs to make some things. So other more experienced coders could likely correct me.
Background Pony #ECC0
Thanks. Very useful, I was waiting something like that.  
I’ll try to learn a bit how to use it since I’m not so good about this kind of things, lol.
Marker
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Magnificent Metadata Maniac - #1 Assistant
Not a Llama - Happy April Fools Day!

Misanthrope
Changelog for version 1.1.4:  
  • Image search: updated to address a known bug that would erroneously mark an image as not found, see OP for details.
     
    Edit: added reverse image search as a final fallback.  
    Edit2: fixed the script not working for Ponerpics.
Marker
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Magnificent Metadata Maniac - #1 Assistant
Not a Llama - Happy April Fools Day!

Misanthrope
Changelog for 1.1.6:  
  • Improved accuracy of image redirect when reverse image search is used. [commit]  
  • Workaround for a bug affects Violentmonkey on Firefox that breaks image search [commit]
Marker
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Magnificent Metadata Maniac - #1 Assistant
Not a Llama - Happy April Fools Day!

Misanthrope
Changelog for 1.2.0:  
  • Added partial compatibility for Twibooru: Hash via API and client-side hashing works. No support for reverse image search.
Marker
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Magnificent Metadata Maniac - #1 Assistant
Not a Llama - Happy April Fools Day!

Misanthrope
Changelog for 1.3.0:  
  • Incorporates Twibooru’s ‘Elsewhere’ search parameter. This should reduce the need for client-side hashing when searching Twibooru.
Interested in advertising on Derpibooru? Click here for information!
Pony Arts & Prints!

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