Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

[Firefox] Blank page when searching on google with scripts blocked #232

Closed
Blutgang opened this issue May 27, 2015 · 5 comments
Closed

[Firefox] Blank page when searching on google with scripts blocked #232

Blutgang opened this issue May 27, 2015 · 5 comments

Comments

@Blutgang
Copy link

Rules:

matrix-off: opera-scheme true
* * * block
* * css allow
* * frame block
* * image allow

On Firefox 38.0.1 + uMatrix 0.9.1.1 go to google.com and type in testing for the search query. The page will momentarily flash (looks like a redirection) and the search results page will be blank (white page). Repeat the process on Chrome 42.0.2311.152 + uMatrix 0.9.1.1 and the end result is different (the search results actually show - not a blank page).

@ghost
Copy link

ghost commented May 27, 2015

Redacted

See @CrisBRM's answer

@0xBRM
Copy link

0xBRM commented May 27, 2015

It's only a problem if you're using the search as you type feature, which you can (and should) disable on google's settings.

@gorhill
Copy link
Owner

gorhill commented May 27, 2015

Loading the script on google.com is required

I tested with NoScript and the page did not go blank.

I suspect this is caused the by uMatrix's attempt to "revive" the <noscript> tags on the page (necessary because CSP directives to prevent scripting do not trigger the parsing of noscript tags). I have to find out if anything has changed regarding this, this is very old code.

@my-password-is-password

Inside the <noscript> theres this, <style>table,div,span,p{display:none}</style>. Since the workaround for <noscript> was to use <div> it gets hidden too. I think thats whats happening.

@AndrewKvalheim
Copy link

Sorry for the reference spam. I'll try to strip that out in the future.

gorhill added a commit that referenced this issue Dec 1, 2017
Noxgrim pushed a commit to Noxgrim/uMatrix that referenced this issue Dec 29, 2021
Noxgrim pushed a commit to Noxgrim/uMatrix that referenced this issue Dec 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants