Same domain having 3 duplicate forms of entries in whitelist

Ask for help about NoScript, no registration needed to post
ReporterX
Senior Member
Posts: 74
Joined: Mon Sep 15, 2014 11:46 pm

Same domain having 3 duplicate forms of entries in whitelist

Post 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. :)
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
Senior Member
Posts: 11141
Joined: Sat Aug 03, 2013 5:45 pm

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

Post 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).
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Windows NT 5.1; rv:32.0) Gecko/20100101 Firefox/32.0 SeaMonkey/2.29
Guest

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

Post 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.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0
barbaz
Senior Member
Posts: 11141
Joined: Sat Aug 03, 2013 5:45 pm

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

Post 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.
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply