Page 1 of 1

Allow all scripts for current domain?

Posted: Mon Mar 08, 2010 7:00 pm
by smilinggoat
ArsTechnica recently created a kerfuffle by blocking site content from users who block ads. I don't run adblocking software but I do run NoScript as a blacklist. I do not allow doubleclick.net to run javascript. Most sites gracefully degrade to serving JPEG or GIF images, however, ArsTechnica did not. ArsTechnica was whitelisted but doubleclick was not. I had the choice of either globally allowing doubleclick or not viewing ArsTechnica.

Is it possible to allow all scripts from all domains given a particular viewing domain? For instance, when I'm on on arstechnica.com, doubleclick.net would be allowed to run scripts, but other sites I'm viewing would not be able to load doubleclick.net?

Re: Allow all scripts for current domain?

Posted: Mon Mar 08, 2010 7:09 pm
by Giorgio Maone
Open NoScript Options|Advanced|ABE, and edit the USER ruleset adding the following rule:

Code: Select all

Site .doubleclick.net
Allow from .arstechnica.com
Deny
Now you can allow doubleclick.net in NoScript: ABE will prevent its resources from loading unless the origin is arstechnica.com or a subdomain.

Re: Allow all scripts for current domain?

Posted: Mon Mar 08, 2010 7:26 pm
by smilinggoat
Thank you Giorgio for your prompt reply! It works great!