uMatrix icon indicating copy to clipboard operation
uMatrix copied to clipboard

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

Open Blutgang opened this issue 11 years ago • 5 comments

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

Blutgang avatar May 27 '15 20:05 Blutgang

Redacted

See @CrisBRM's answer

ghost avatar May 27 '15 22:05 ghost

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.

0xBRM avatar May 27 '15 22:05 0xBRM

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.

gorhill avatar May 27 '15 23:05 gorhill

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.

my-password-is-password avatar May 28 '15 03:05 my-password-is-password

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

AndrewKvalheim avatar Feb 14 '17 16:02 AndrewKvalheim