Identical Entries in Options, One Green and One Red

Ask for help about NoScript, no registration needed to post
Skeezix
Senior Member
Posts: 65
Joined: Fri Jan 21, 2011 1:23 am

Identical Entries in Options, One Green and One Red

Post by Skeezix » Wed Jan 17, 2018 8:43 pm

Why do I have two entries in my Options screen for "...mozillazine.org" and why does one of them have a green lock and the other a red lock?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

barbaz
Senior Member
Posts: 9691
Joined: Sat Aug 03, 2013 5:45 pm

Re: Identical Entries in Options, One Green and One Red

Post by barbaz » Wed Jan 17, 2018 9:46 pm

Are the two entries set the same? If so, the green lock one is redundant, mozillazine is only plain HTTP.
*Always* check the changelogs BEFORE updating that important software!
-

Skeezix
Senior Member
Posts: 65
Joined: Fri Jan 21, 2011 1:23 am

Re: Identical Entries in Options, One Green and One Red

Post by Skeezix » Wed Jan 17, 2018 11:01 pm

I understand. I was just wondering why NS put in identical entries for this one site. None of the other sites have identical-looking entries.

When I clicked on the green lock, the site having the green lock disappeared.

I wish I could make other sites in the list disappear. I accidentally went to www.baris.com, and now that one is listed (although I marked it as Untrusted). Is there any way I can make it disappear from the list?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

barbaz
Senior Member
Posts: 9691
Joined: Sat Aug 03, 2013 5:45 pm

Re: Identical Entries in Options, One Green and One Red

Post by barbaz » Wed Jan 17, 2018 11:04 pm

Skeezix wrote:I wish I could make other sites in the list disappear. I accidentally went to www.baris.com, and now that one is listed (although I marked it as Untrusted). Is there any way I can make it disappear from the list?
Set it to Default, and it will be gone when you leave or reload the options page.
*Always* check the changelogs BEFORE updating that important software!
-

Skeezix
Senior Member
Posts: 65
Joined: Fri Jan 21, 2011 1:23 am

Re: Identical Entries in Options, One Green and One Red

Post by Skeezix » Thu Jan 18, 2018 5:16 pm

Gotcha! Thank you!
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

geek99
Junior Member
Posts: 20
Joined: Wed Dec 13, 2017 12:36 am

Re: Identical Entries in Options, One Green and One Red

Post by geek99 » Thu Jan 18, 2018 7:39 pm

I found the same problem (barbaz called it a redundant entry).

I opened this site:
support.amd.com

then clicked the NoScript icon. The dropdown list had a red entry for:
... amd.com

and also a black entry for:
... amd.com

Both entries were set to the Default button.

If one of these entries is redundant (the black one?), then does that mean there is a bug that causes the redundant entry (the black one?) to be displayed??
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

Pansa
Senior Member
Posts: 318
Joined: Fri Nov 24, 2017 10:30 pm

Re: Identical Entries in Options, One Green and One Red

Post by Pansa » Thu Jan 18, 2018 8:41 pm

geek99 wrote:I found the same problem (barbaz called it a redundant entry).

I opened this site:
support.amd.com

then clicked the NoScript icon. The dropdown list had a red entry for:
... amd.com

and also a black entry for:
... amd.com

Both entries were set to the Default button.

If one of these entries is redundant (the black one?), then does that mean there is a bug that causes the redundant entry (the black one?) to be displayed??
Those aren't redundant. If they are actually set rules, THEN they are redundant.

If you look below these two you will find :
http://support.amd.com
https://www.amd.com

This means those two specifically want to run scripts. If you create the black ....amd.com rule it will still block thesecond first one (edit my bad, the first one is http), because you created a https only rule.
If you create the red one both will be allowed.
When they show as default, they are "choices", not rules. Rules means there is an entry in the debug output in the options for them.
Rules can be redundant (but shouldn't be, but sometimes are when you make some that already got imported from a previous install). Which means you have 2 rules, one of which already includes the other.
The choices are overlapping by choice, because Noscript tries to guess which different kind of choices would be what you want specifically.
Last edited by Pansa on Fri Jan 19, 2018 4:16 pm, edited 1 time in total.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

geek99
Junior Member
Posts: 20
Joined: Wed Dec 13, 2017 12:36 am

Re: Identical Entries in Options, One Green and One Red

Post by geek99 » Fri Jan 19, 2018 6:44 am

THANK YOU Pansa for your explanation regarding identical (except for color) entries in the drop down list:
Pansa wrote:Those [identical items in the drop down list that show as Default] aren't redundant. If they are actually set rules, THEN they are redundant.
Pansa wrote:When they [entries in a site's drop down list] show as default, they are "choices", not rules. Rules means there is an entry in the debug output in the options for them.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

Post Reply