Page 1 of 1

Same domain having 3 duplicate forms of entries in whitelist

Posted: Sat Sep 20, 2014 2:06 am
by ReporterX
1. I exported the whitelist and took a close look.
I discovered each of the same domain is being added into 3 form of entries, i.e.
domain.com
http://domain.com
https://domain.com

What I did is to whitelist the domain.com via the menu. I never whitelist the http and https ver manually.
Why the duplicates?

2. If I edit the whitelist (text file) and adds domain2.com (but not its http and https ver), will it work properly?

Thanks a lot. :)

Re: Same domain having 3 duplicate forms of entries in white

Posted: Sat Sep 20, 2014 2:49 am
by barbaz
1) That is because it was needed for the old CAPS system that NoScript relies upon in Gecko < 28.

2) I just tried it in Gecko 31, and that did work (the http and https entries were auto-generated where needed).

Re: Same domain having 3 duplicate forms of entries in white

Posted: Thu May 18, 2017 3:55 pm
by Guest
barbaz wrote:1) That is because it was needed for the old CAPS system that NoScript relies upon in Gecko < 28.

2) I just tried it in Gecko 31, and that did work (the http and https entries were auto-generated where needed).
@barbaz is this still relevant on Firefox 53 and NoScript 5.0.4? I just went through and stripped out all of the http:// and https:// entries from my NoScript.untrusted about:config preference and then removed the duplicates so I now only have 1 entry for each domain. I didn't know if that would mess up the functionality to block content from those domains still.

Re: Same domain having 3 duplicate forms of entries in white

Posted: Thu May 18, 2017 4:04 pm
by barbaz
Guest wrote:@barbaz is this still relevant on Firefox 53 and NoScript 5.0.4?
Yep. I just tried deleting the http: and https: entries from my whitelist, which includes duckduckgo.com, and scripts were blocked on https://duckduckgo.com/.

Looks like you can fix the whitelist by making any change to it from within NoScript Options > Whitelist, and then clicking OK. I don't have time to check the Untrusted list atm, but you might try NoScript Options > Whitelist > Export (*not* the one on the very bottom), then importing it back.