Cimbali / CleanLinks

Converts obfuscated/nested links to genuine clean links.
https://addons.mozilla.org/en-GB/firefox/addon/clean-links-webext/
Mozilla Public License 2.0
76 stars 2 forks source link

Google images original image? #101

Closed khabib227 closed 4 years ago

khabib227 commented 4 years ago

Few days ago, if I click in any thumb, open the original image (original resolution) but now open the modal window (popunder). I want the original image, how to fix it? Someone can help please?

Cimbali commented 4 years ago

Hi @khabib227. Here’s what I understand you’re trying to do, please tell me f I’m wrong:

However I don’t have this option on google images (both on v66 an d v73), because I have the big right-hand side panel layout. Therefore I usually:

I’m also not sure that CleanLinks is causing this as we don’t really interfere with popups/popunders. In order to see the problem you have, can you specify which browser (and version) you’re using?

Here’s a couple generic tips to help you:

khabib227 commented 4 years ago

Hi @Cimbali thanks the informations. I'm using FF 67 with latest CL.

What I want is to open original images directly with left click, without google intermediate page.

To me just middle click opening original is very good, I just want to know if is possible with left click also. Thanks

Cimbali commented 4 years ago

So what seems to me is happening is that all thumbnails are links to an intermediate page, such as: https://www.google.com/imgres?imgurl=https%3A%2F%2Fwww.abc-collectivites.com%2F4782-large_default%2Fbarriere-de-circulation-police-2-m.jpg&imgrefurl=https%3A%2F%2Fwww.abc-collectivites.com%2F5828-barriere-de-circulation-police-2-m.html&tbnid=DczWCPCAzIvmzM&vet=12ahUKEwip_Yj9_sLoAhVBEhoKHW7ZBkAQMygCegUIARCkAg..i&docid=8CcM2bxe0eaQRM&w=610&h=458&q=barri%C3%A8re

When you click that link to a new tab (middle click / ctrl + click) this link gets used, so CL sees the request for the new page and cleans it.

When you simply click on the thumbnail, the link doesn’t get loaded. Instead some javascript magic happens on google’s side to change the current page to the intermediate page. In particular, no request containing the image is initiated (or we would catch it and clean it).

The best way, I believe, to have left click open the image is simply to disable javascript on google’s search results.

khabib227 commented 4 years ago

Instead some javascript magic happens

Google is specialist in javascript magics

I believe, to have left click open the image is simply to disable javascript on google’s search results

The problem is which change site version, and in this version the thumbs do not link to original images, instead link to source page. But anyway thanks so much your attention and explanation :)

Cimbali commented 4 years ago

CleanLinks will successfully prevent javascript on these types of links in the next release. So left click on a google image thumbnail will go directly through to the image. An option to disable this behaviour (i.e. allow javascript) is available in the rules editor.