Google Images direct links 2

Add direct links to the picture to the Google Image Search results.

As of 2021-09-27. See the latest version.

Author
Benjamin Philipp
Ratings
0 0 0
Version
2.3.1
Created
2020-03-27
Updated
2021-09-27
License
N/A
Applies to

Ugly adaptation for the way Google handles image URLs right now :(
(Might be different for you - if the older version still works, try https://greasyfork.org/en/scripts/27409-google-images-direct-links)

The real URLs are only loaded by Google once you click on an image. I haven't been able to stop the details view to open upon click (and I'd rather not force it to stay hidden completely)
So when you click on the arrow, the script triggers a click on the image and wait for the URL to load. As soon as we find it, it opens in a new tab.

If you can decouple the "getting link" part from the "opening details view" part, let me know!!! (I can't see through the minimized entangled mess of the actual google functions)

In case it fails to update in TamperMonkey, visit https://www.benjamin-philipp.com/fff/userScripts/Google_Images_Direct_Links_2.user.js directly Update: FFS, Greasyfork's Markdown interpreter swallowed up the underscores in the link and used them for italics. Fixed that.

2.3.1 (2021-09-27)

  • Improved compatibility with older browsers

2.3 (2021-09-27)

  • Addressed current problem with Google's enforcing of Trusted-Types. Seems to work for now, but is subject to change.
  • Removed dependency on jQuery, because TamperMonkey fails when trying to inject @require dependencies on pages which have a restrictive Trusted-Types policy
  • Filed a bug report on TamperMonkey: https://github.com/Tampermonkey/tampermonkey/issues/1334

2.2 (2021-01-27)

  • Added new element selector for image links matching some new version of the results page
  • Moved selector variable to the top for easy access

2.1 (2021-01-12)

  • Show whole pictures on hover if they were visually cropped (what the hell, google?)
  • Open in new tab if CTRL is pressed on click, otherwise in the same tab.