Suggestion: Allow all scripts on current tab

Bug reports and enhancement requests
Post Reply
Nereid
Posts: 1
Joined: Sun Sep 02, 2012 3:32 am

Suggestion: Allow all scripts on current tab

Post by Nereid »

Occasionally there are some situations where I don't want to risk having blocked scripts break some site behaviour. For example, there are certain online payment systems which need JavaScript, but for which the whole process goes through several different domains, so scripts have to be enabled for each one. In one situation I've accidentally made a payment twice because of a page reload after enabling scripts on that domain. (I got my money back of course, but it caused some unnecessary hassle and worry.)

So, my suggestion is simply to have a button to allow all scripts on the current tab only, similar to the one that allows scripts globally.

I guess there are some details to think about. For instance, do we allow all scripts except for untrusted ones? Do we also allow scripts on new tabs/windows opened from the tab that has scripts enabled?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: Suggestion: Allow all scripts on current tab

Post by Tom T. »

To understand the difficulty and risk that this poses, please see the sticky post, Why must I "Temporarily allow all this page" REPEATEDLY?.

If this is a problem at the pay sites, you may open NoScript Options > General, and uncheck
"Automatically reload affected pages when permissions change". > OK.

You can always re-check that box when you are done with a site that causes this problem.
Also, if you frequently use the same pay-sites, and are satisfied with the trustworthiness of their script sources, permanently whitelisting them avoids such issues in the future.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:15) Gecko/20100101 Firefox/15
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Suggestion: Allow all scripts on current tab

Post by Thrawn »

you may open NoScript Options > General, and uncheck "Automatically reload affected pages when permissions change"
I always un-check this. I can understand why it's the default, but I much prefer to control things manually. Especially since I use RequestPolicy as well; I can whitelist sites in both addons, then reload once.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0
Post Reply