Allow script from a domain only when visiting that domain.

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

Allow script from a domain only when visiting that domain.

Post by holger »

Is it possible to allow scripts loaded from a domain only if in web sites loaded from that domain. But forbid the same scripts if loaded from another site?

Example:
Allow scripts from google.com if used by a html page served by google.com, but do not allow scripts from google.com if the using html page is loaded from (for example) facebook.com?

Another example:
Allow scripts from facebook only if browing a facebook site, but disallow it if used by other sites for "Like It" buttons.
Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0
User avatar
Giorgio Maone
Site Admin
Posts: 9557
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Allow script from a domain only when visiting that domai

Post by Giorgio Maone »

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0
Post Reply