Feature request: Block ALL scripts

Bug reports and enhancement requests
Post Reply
hubbabubba
Posts: 1
Joined: Fri Nov 04, 2016 7:12 pm

Feature request: Block ALL scripts

Post 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).
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.8.0
barbaz
Senior Member
Posts: 11109
Joined: Sat Aug 03, 2013 5:45 pm

Re: Feature request: Block ALL scripts

Post 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.
*Always* check the changelogs BEFORE updating that important software!
-
barbaz
Senior Member
Posts: 11109
Joined: Sat Aug 03, 2013 5:45 pm

Re: Feature request: Block ALL scripts

Post 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.
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply