Allow ANY script on a trusted site??

Ask for help about NoScript, no registration needed to post
funkyb4ss

Allow ANY script on a trusted site??

Post by funkyb4ss »

Read the FAQ, googled, still having trouble learning how to allow ALL scripts on a trusted site.

The idea is to have a domain like doubleclick.net work only on the sites I want. This way I can accept ads to support the sites I like but not have to whitelist the adserver itself. Is there a way to do this?

An example domain would be http://arstechnica.com. This is a very good site so I want their ads to be shown, but they use doubleclick.net which I don't want to allow globally, or I'll be looking at ads on half the sites I casually visit. I put arstechnica.com in my whitelist (by domain and address), but the third-party scripts are still blocked.

There must be some way to allow a specific domain to serve any script, regardless of its origin, without whitelisting every script that appears? I'm looking for an option such as "Allow any script temporarily in trusted domain" or even better, a checkbox to allow any script on a case-by-case basis via the whitelist.

Am I missing this somewhere?
/\/\/\/
Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Allow ANY script on a trusted site??

Post by therube »

You would Allow doubleclick.net, then use ABE (USER rule) to limit the domains on which it is Allowed.

Let me see if I can find the post ... (no)

Maybe something like this:

Code: Select all

Site *.doubleclick.net
Accept from *.arstechnica.com arstechnica.com
Deny
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090825 SeaMonkey/1.1.18
funkyb4ss

Re: Allow ANY script on a trusted site??

Post by funkyb4ss »

Thank you! I'm going over the syntax rules now to make sure I get it. I'll let you know how it works.
/\/\/\/
Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
funkyb4ss

Re: Allow ANY script on a trusted site??

Post by funkyb4ss »

Thanks again, no dice it would seem. Using the example seems to be just allowing doubleclick.net scripts everywhere. Does it matter what text editor you use perhaps? I'm on a mac using TextEdit.

I also tried:
Site *.doubleclick.net
Accept ALL from *.arstechnica.com arstechnica.com
Deny

way over my head here.
/\/\/\/
Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
funkyb4ss

Re: Allow ANY script on a trusted site??

Post by funkyb4ss »

OK, it seems to be working, sort of.

I have doubleclick Allowed in NoScript. Arstechnica.com is serving ads from doubleclick with adblock disabled. Meanwhile chicagotribune.com has a grey square where the doubleclick ad should be, and with adblock also disabled.

Looks good; however, to test I made a duplicate rule for chicagotribune.com to see if it would then show the ads and am getting the same behavior as before, a grey square. I have all scripts allowed on the page.

So i'm not sure if doubleclick is being blocked everywhere or not. If I go to washingtonpost.com doubleclick ads are blocked and I get a ABE notification which doesn't happen for the 'ruled' domains (adblock also disabled here). So I'm guessing this is working; just not sure why the second rule is not. Do I need to put all domains in the same rule instance?

Sorry if I'm clueless. Thanks again....
/\/\/\/
Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Allow ANY script on a trusted site??

Post by therube »

Not sure what would happen if there were two separate rules with the same Site?

Anyhow, you could put chicagotribune.com on the same Accept as arstechnica.com.

So:

Code: Select all

Accept ALL from *.arstechnica.com arstechnica.com *.chicagotribune.com chicagotribune.com
(BTW, I don't know that anything that I've said is correct, but the principle should be.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090825 SeaMonkey/1.1.18
funkyb4ss

Re: Allow ANY script on a trusted site??

Post by funkyb4ss »

Cool. So it would be (i'm guessing):

Site *.doubleclick.net
Accept ALL from *.arstechnica.com arstechnica.com *chicagotribune.com chicagotribune.com
Deny

etc.… correct? I'm pretty sure this is working though, so cheers.
Matt
Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
funkyb4ss

Re: Allow ANY script on a trusted site??

Post by funkyb4ss »

Duh. Didn't see you r code above. Anyway thanks; I'll post back if anything interesting develops.
Matt
Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Post Reply