Allow scripts on site X when loaded from page on site Y?

Ask for help about NoScript, no registration needed to post
some guy

Allow scripts on site X when loaded from page on site Y?

Post by some guy »

I haven't been able to figure this out:

A huge number of sites load javascript from as many as 10 or 15 other domains. I don't want to enable or whitelist all of them, but sometimes I need them to work.

For example, my company's new web site now requires googleapis.com. I don't want to enable googleapis.com for every site on the internet (because I don't want google gathering information about me), but I would like to enable it _only_ when the googlapis script is loaded because it was used on my company web site.

Is there any way to do this?

MS
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Allow scripts on site X when loaded from page on site Y?

Post by Giorgio Maone »

You can use ABE, see FAQ 8.10.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Pär
Posts: 2
Joined: Thu Jun 17, 2010 5:05 am

Re: Allow scripts on site X when loaded from page on site Y?

Post by Pär »

8.10 does NOT work on yimg popups when I tried to make them appear on my.yahoo.com but not on any other pages via the following apparently non-functional script:


# yimg.com rule
Site yimg.com
Accept from my.yahoo.com
Deny
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Ant.com Toolbar 2.0.1 Firefox/3.6.3
Post Reply