Page 1 of 1

Does NoScript allow JS from trusted sites on any site?

Posted: Thu Dec 01, 2011 4:17 pm
by PCuser
If site X (with /temporarily?/ allowed JavaScript e.t.c.) contains scripts hosted on trusted site Y - does NoScript allow execution of the scripts from site Y?

If a site (actually blocked for scripts e.t.c.) contains scripts hosted on trusted site Y - same question.

Once I tried to ask for a Firefox (SeaMonkey e.t.c.) feature to allow images from "trusted" site Y only, if I look them at site X, but not everywhere (e.g. img-media.dom on wiki.dom only). It seems either this is a too high effort or I missed an already existing add-on; anyway I'd like at least to know how NoScript handles the similiar scenario. I suspect that the scripts from the trusted/whitelisted sites will be executed similiar to the always downloaded images once the site is whitelisted, but maybe the first answer above is yes, and the second is no.

Sincerely J.

Re: Does NoScript allow JS from trusted sites on any site?

Posted: Thu Dec 01, 2011 6:16 pm
by therube
If site X (with /temporarily?/ allowed JavaScript e.t.c.) contains scripts hosted on trusted site Y - does NoScript allow execution of the scripts from site Y?
Yes.
Note that a site Z, not allowed, cannot run JavaScript regardless of whether it is hosted on X or Y.
If a site (actually blocked for scripts e.t.c.) contains scripts hosted on trusted site Y - same question.
No.
X, not allowed, with a link to trusted (allowed) Y, Y will not be allowed to run scripts.

(terminology above, like "hosted" may not be the right word?)
allow images from "trusted" site Y ...
As far as NoScript is concerned, that may only come into play if the images display using JavaScript.


Blocking images for untrusted sites