Page 1 of 1

Allow ANY script on a trusted site??

Posted: Thu Oct 01, 2009 4:31 pm
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?
/\/\/\/

Re: Allow ANY script on a trusted site??

Posted: Thu Oct 01, 2009 4:47 pm
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

Re: Allow ANY script on a trusted site??

Posted: Thu Oct 01, 2009 5:04 pm
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.
/\/\/\/

Re: Allow ANY script on a trusted site??

Posted: Thu Oct 01, 2009 5:44 pm
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.
/\/\/\/

Re: Allow ANY script on a trusted site??

Posted: Thu Oct 01, 2009 6:09 pm
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....
/\/\/\/

Re: Allow ANY script on a trusted site??

Posted: Thu Oct 01, 2009 6:43 pm
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.)

Re: Allow ANY script on a trusted site??

Posted: Fri Oct 02, 2009 12:25 pm
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

Re: Allow ANY script on a trusted site??

Posted: Fri Oct 02, 2009 12:29 pm
by funkyb4ss
Duh. Didn't see you r code above. Anyway thanks; I'll post back if anything interesting develops.
Matt