Allow all scripts on a page for one page only

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

Allow all scripts on a page for one page only

Post 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?
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Allow all scripts on a page for one page only

Post by Giorgio Maone »

Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
oldmankit

Re: Allow all scripts on a page for one page only

Post 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?
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Allow all scripts on a page for one page only

Post 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.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
oldmankit

Re: Allow all scripts on a page for one page only

Post by oldmankit »

Thank you.
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10
Post Reply