-
Notifications
You must be signed in to change notification settings - Fork 471
Is there a way to disable javascript in local file:// for firefox? #589
Comments
Remove |
@Snapy I tried removing that rule but it still runs js. I even removed everything except |
Why you just dont try modify the javascript.enable=false preference inside the about:config ? |
@debiangirl Yeah that would disable javascript everywhere but it wouldn't allow me to quickly control it on a case by case basis like I do with umatrix. |
What does |
uMatrix/uBO inject a content security policy ("CSP") directive in response headers to prevent inline script tags from executing. I verified that with Chromium/Firefox, their respective handler for response headers is not invoked -- hence no CSP can be injected. |
@vzjrz addons like maone's no script can block/unblock JS with an icon. |
@Atavic: that does not work with NoScript 10, which is webext-based like uMatrix. |
Ajjj... Right. What about policy-control |
@gorhill : quick question (semi related i think, please don't shoot me). See ghacks-user.js issue, Bugzilla 1368682 etc. No one is sure yet if this is a problem in web content, but it certainly can be done manually eg entering Edit: https://www.bleepingcomputer.com/news/microsoft/filesystem-bug-hangs-or-crashes-windows-7-and-windows-8-1/ |
This would need to be tried -- see what the logger reports. If the logger reports the URL, then it should be blockable. I don't have Windows, so I can't try. |
The new NoScript succeeds in blocking JS from I will bring this technique to uMatrix. Note that this would still not solve the case for Chromium, this is possible in Firefox because it supports registering content scripts dynamically. |
Just noticed that javascript runs on local html files. My rules:
Noscript does seem disable local js.
The text was updated successfully, but these errors were encountered: