Have option to have domains only allowed if on that domain.

Bug reports and enhancement requests
Post Reply
kukloprdos
Posts: 1
Joined: Mon Jul 26, 2010 10:18 pm

Have option to have domains only allowed if on that domain.

Post by kukloprdos »

Have option to have domains only allowed if on that domain.

By that I mean, if you login to facebook.com and allow the scripts, it allows them when you go to some other website that runs some scripts from facebook. So basically have two type of white lists, one global whitelist, and one to allow scripts from some domain as long as that domain is the one showing in the address bar.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Have option to have domains only allowed if on that doma

Post by Giorgio Maone »

From http://noscript.net/abe

Code: Select all

# This one allows Facebook scripts and objects to be included only
# from Facebook pages
Site .facebook.com .fbcdn.net
Accept from .facebook.com .fbcdn.net
Deny INCLUSION(SCRIPT, OBJ, SUBDOC)
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Jojo999
Senior Member
Posts: 147
Joined: Mon Jun 01, 2009 3:54 am

Re: Have option to have domains only allowed if on that doma

Post by Jojo999 »

Where do you put the above code???
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 FlyPaper/RC1 (.NET CLR 3.5.30729)
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Have option to have domains only allowed if on that doma

Post by Giorgio Maone »

Jojo999 wrote:Where do you put the above code???
NoScript Options|Advanced|ABE, "USER" ruleset.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Post Reply