Google Images direct links

Add direct links to the picture and the page link to the Google Image Search results.

Author
Benjamin Philipp
Daily installs
1
Total installs
1,258
Ratings
12 1 1
Version
1.5
Created
Updated
License
N/A
Applies to
  • /^https?:\/\/(www\.)*google\.[a-z\.]{2,5}\/search.*tbm=isch.*/
New version: If the current Google implementation doesn't work with this script anymore, use a separate version here: https://greasyfork.org/en/scripts/398802-google-images-direct-links-2
Google now only loads the links we need when you click on an image. This breaks everything and makes things ugly :(

Adds direct links to pictures and source pages to Google image search results.

The other day I noticed that Google Images had changed for me. Clicking on a picture no longer opens the result page, but slides an (albeit neat looking) panel open, providing me with the links.

I don't want that, so I wrote a userscript that will add a "+" button to every picture. Click that button to go to the image directly, and click the source link info to go to the source page.

Update 1.3 2018-03-05: Direct links are now plain links, stopping the click event from bubbling up to google's handler. Click the plus sign for the picture and the source info for the site. Frees up CTRL+Click for standard behavior (open in new Tab), as the links now open in the same tab by default.

Update 1.5 2018-03-31: Switched from a DOM Mutation observer as update trigger to a regular interval. Use the first VAR [updateInterval] to set the interval in milliseconds. Default = 1000 (1 second)

Due to the mysterious ways in which Google works, we don't always get the direct links right away, but rather a href="#" at first. This is why it might take a while for the script to "work". While a link is loading, a faint "..." appears instead of the "+" symbol.

Hope you like it :)

Should Tampermonkey (or greasemonkey... or indeed any other simian) fail to update to the current version, visit the gitHub Master directly.