Always allow some embedded external JS

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

Always allow some embedded external JS

Post by Robbsie »

Hi,

is it possible to ALWAYS allow JS from a given external host, i.e. always allow "google-analytics.com", no matter on what page it's embedded?
Atm it seems that only the browser-url is recognized, so if I open "site.com" with embedded "google-analytics.com" JS via <script src="...">, it does not execute this external JS.

Any ideas how to solve this?

Thanks,
Robert
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; de-de) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Always allow some embedded external JS

Post by Giorgio Maone »

If the top-level page is not allowed to run scripts, no external script will be loaded and run because the scripting engine is off for that page.
Furthermore, in the Google Analytics specific case, there would be no point in running the external script alone because the analytics are configured and executed by scripts embedded in the page itself.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Robbsie

Re: Always allow some embedded external JS

Post by Robbsie »

Thanks,
If the top-level page is not allowed to run scripts, no external script will be loaded and run because the scripting engine is off for that page.
and there is no "hack" for that? :)
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; de-de) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Always allow some embedded external JS

Post by Giorgio Maone »

Robbsie wrote:Thanks,
If the top-level page is not allowed to run scripts, no external script will be loaded and run because the scripting engine is off for that page.
and there is no "hack" for that? :)
Nope. May I ask you why would you want this?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Post Reply