Greasy Fork is available in English.

Google Images direct links

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

Autor
Benjamin Philipp
Denne inštalácií
0
Celkový počet inštalácií
1 647
Hodnotenie
10 1 1
Verzia
1.5
Vytvorené
15.02.2017
Aktualizované
31.03.2018
Licencia
neuvedené
Spustiť na

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 :)