Page 1 of 1
Allow all scripts on a page for one page only
Posted: Wed Oct 06, 2010 6:23 am
by oldmankit
Hi,
I access gameknot.com, a site which will ban me if I don't load their advertisements. The adverts come from several different servers. I want to allow these adds when I'm accessing gameknot.com only. I don't want them to appear in my day-to-day browsing.
Is there a way to do this?
Re: Allow all scripts on a page for one page only
Posted: Wed Oct 06, 2010 6:28 am
by Giorgio Maone
Re: Allow all scripts on a page for one page only
Posted: Wed Oct 06, 2010 6:47 am
by oldmankit
Have I got this right? I've added the following to USER in ABE:
Code: Select all
# gameknot rules
Site fastclick.net ichess.com exponential.com burstnet.com abmr.net tribalfusion.com xgraph.net quantserve.com google-analytics.com
Accept from gameknot.com *.gameknot.com
Deny
And
do I also have to manually click "allow fastclick.net", "ichess.com" etc etc? And they will only load when I'm on gameknot.com?
I did that, and now on any website I go to it no longer has the option to "allow google-analytics.com", but "forbit google-analytics.com". It feels like I've just allowed all of these domains no-matter which page I'm on?
Re: Allow all scripts on a page for one page only
Posted: Wed Oct 06, 2010 7:16 am
by Giorgio Maone
oldmankit wrote:Have I got this right? I've added the following to USER in ABE:
Code: Select all
# gameknot rules
Site fastclick.net ichess.com exponential.com burstnet.com abmr.net tribalfusion.com xgraph.net quantserve.com google-analytics.com
Accept from gameknot.com *.gameknot.com
Deny
Yes. You can shorthand "gameknow.com *.gameknow.com" as
.gameknot.com, though.
oldmankit wrote:
And do I also have to manually click "allow fastclick.net", "ichess.com" etc etc? And they will only load when I'm on gameknot.com?
Yes, you need to allow them in order for them to run on gameknot.com.
ABE is orthogonal to NoScript, i.e. it doesn't work on active content execution but prevents the resource from being loaded if a DENY rule is matched.
oldmankit wrote:
I did that, and now on any website I go to it no longer has the option to "allow google-analytics.com", but "forbit google-analytics.com". It feels like I've just allowed all of these domains no-matter which page I'm on?
As I said, they're allowed to run but they can't be loaded except from .gameknot.com, therefore they cannot run anyway on other sites. If you check
Tools|Error Console, you'll see several ABE messages about requests being denied.
Re: Allow all scripts on a page for one page only
Posted: Sat Oct 09, 2010 3:41 am
by oldmankit
Thank you.