Page 1 of 1

Feature request: Block ALL scripts

Posted: Fri Nov 04, 2016 7:45 pm
by hubbabubba
There are times when it would be really nice to be able to quickly and easily block all scripts, without having to clear the whitelist.

NoScript seems like the natural place to implement such a feature, yet no such feature seems to exist (at least as of 2.9.0.14). Can we please have it?

It would work analogously to "Allow scripts globally": if this function is activated, then no scripts, including from ordinarily trusted locations, are executed (as opposed to "allow scripts globally" which causes all scripts, including from untrusted locations, to be executed).

Re: Feature request: Block ALL scripts

Posted: Fri Nov 04, 2016 10:32 pm
by barbaz
about:config > set javascript.enabled to false

If you don't like going in about:config there are several JS toggle addons that provide toolbar buttons for that.

Re: Feature request: Block ALL scripts

Posted: Fri Nov 04, 2016 10:46 pm
by barbaz
Oops, missed this part -
hubbabubba wrote: "allow scripts globally" which causes all scripts, including from untrusted locations, to be executed
Er, no, it doesn't. Marking a site as Untrusted means you DON'T trust it, period. As in, you wouldn't touch it with a ten-foot pole and hazmat suit, have a good guess what those sharp fangs are for, etc.

Think of "Allow Scripts Globally" as something like "Allow scripts by default", NoScript always script-blocks sites marked as Untrusted.