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.
Firefox 37.0.2, NoScript 2.6.9.22
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
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.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0
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.
*Always* check the changelogs BEFORE updating that important software!