usofad wrote:Seems to be we must specify the separate entries for each protocol.
Simply adding google-analytics.com to the Untrusted list manually, as it seems you are doing, will block all scripts that have that as their 2nd-level domain, including somesite.google-analytics.com, google-analytics.com/somesite, https:// google-analytics.com (deliberately broke the link), etc.
The reason it shows up in
about:config under both protocols, in my list as well as yours, is that most users, self included, don't edit this manually.
Rather, we figure that a script isn't an issue until it shows up.
So, the first time that htttp-G-A.com showed in the NS menu, as a full address, I marked it Untrusted.
Some time later, https - G-A.com shows. So I marked it Untrusted. Hence, two entries in about:config.
Simply adding google-analytics.com should block http, https, and, AFAIK, ftp://, gopher://, socks://, SSH://, telnet, etc. -- if the browser supported them.
usofad wrote:And if I will specify http:// this will block javascript on all web-sites which I use with HTTP:// sheme. Am I right?
I don't think so (you could test it yourself), because NoScript is still looking for the critical element of at least a base 2nd level domain name.
But why would you want to do that? *All* scripting is blocked by default, from every source, except for those in the
Default Whitelist FAQ. And you can remove those easily, should you like.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.25) Gecko/20111212 Firefox/3.6.25