Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Firefox] Google links won't open #44

Open
Demonskullz opened this issue May 5, 2022 · 3 comments
Open

[Firefox] Google links won't open #44

Demonskullz opened this issue May 5, 2022 · 3 comments

Comments

@Demonskullz
Copy link

When searching with google.com while this extension is enabled, clicking links to results doesn't do anything. The link gets turned purple, and the reload icon in the toolbar briefly turns into the stop loading icon, but nothing else happens.

@bjornstar
Copy link
Owner

This is a really weird one. You can see the network request go through, but it doesn't actually change to the page. No problem on Firefox Mobile and Google doesn't provide the same redirect behavior to Chrome users. I'm really at a loss as to what is going on there.

@bjornstar
Copy link
Owner

Apparently it opens the link in an invisible iframe.

The redirect then breaks out of the iframe, presumably, this is to prevent google from being anywhere in the referrer.

Just thinking out loud, we could redirect to a data url with similar breakout logic. It's stupid that it would be necessary.

@fmillion
Copy link

fmillion commented Aug 17, 2022

This might be related to behavior I just recently discovered. I can't click any links in Google search results.

The following appears in dev console when trying to click a link e.g. after searching for Intercept Redirect:

Refused to display 'https://chrome.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

or

Refused to frame 'https://stackoverflow.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' https://stackexchange.com".

I've had to turn the extension off for now (and annoyingly submit to Google tracking).

(I'm using latest Chrome on Windows.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants