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.

Tác giả
Benjamin Philipp
Cài đặt hàng ngày
0
Số lần cài đặt
1.645
Đánh giá
10 1 1
Phiên bản
1.5
Đã tạo
15-02-2017
Đã cập nhật
31-03-2018
Giấy phép
N/A
Áp dụng cho

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