Temporarily set top-level sites to TRUSTED glitch

Bug reports and enhancement requests
fatboy
Senior Member
Posts: 105
Joined: Fri Jul 25, 2014 6:56 am
Contact:

Temporarily set top-level sites to TRUSTED glitch

Post by fatboy »

About the settings.

Win 7 SP1, Fx 115.14.0esr, NS 11.4.34, new clean profile.
If you check the General -> Temporarily set top-level sites to TRUSTED checkbox and restart (or close and start) the browser,
then the temporary permissions are not canceled.
Last edited by fatboy on Tue Sep 03, 2024 1:56 pm, edited 2 times in total.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Fx/115.10.0esr NS/11.4.34rc2
User avatar
Giorgio Maone
Site Admin
Posts: 9507
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [BUG] Temporarily set top-level sites to TRUSTED glitch

Post by Giorgio Maone »

fatboy wrote: Tue Aug 20, 2024 12:45 pm If you check the General -> Temporarily set top-level sites to TRUSTED checkbox and restart (or close and start) the browser,
then the temporary permissions are not canceled.
I cannot reproduce, sorry. Could you provide step-by-step instructions, included how the temporary permissions were added, if before or after enabling the setting, how did you check the permissions were still there, were they marked as temporary or not and so on? Thanks!
Last edited by barbaz on Tue Aug 20, 2024 3:07 pm, edited 1 time in total.
Reason: fix subject
Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
fatboy
Senior Member
Posts: 105
Joined: Fri Jul 25, 2014 6:56 am
Contact:

Re: [BUG] Temporarily set top-level sites to TRUSTED glitch

Post by fatboy »

STR:
Open the "General" tab in the settings, check the box "Temporarily set top-level sites to TRUSTED".
Open the site http://example.com/ (or any other if TRUSTED is not selected for it in the "Per site Permissions" tab).
Click on the NS icon in the panel — the "Temp TRUSTED" preset is selected for example.com.
Close the browser.
Launch the browser.
Open the site http://example.com/, click on the NS icon — example.com is still "Temp TRUSTED".
Open the "General" tab in the settings — "Temporarily set top-level sites to TRUSTED" is still checked.

If this behavior is observed only by me, then there is no need to look for the reason, I do not use this setting.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Fx/115.14.0esr NS/11.4.34
barbaz
Senior Member
Posts: 11019
Joined: Sat Aug 03, 2013 5:45 pm

Re: [BUG] Temporarily set top-level sites to TRUSTED glitch

Post by barbaz »

fatboy wrote: Tue Aug 20, 2024 5:26 pm STR:
Open the "General" tab in the settings, check the box "Temporarily set top-level sites to TRUSTED".
Open the site http://example.com/ (or any other if TRUSTED is not selected for it in the "Per site Permissions" tab).
Click on the NS icon in the panel — the "Temp TRUSTED" preset is selected for example.com.
Close the browser.
Launch the browser.
Open the site http://example.com/, click on the NS icon — example.com is still "Temp TRUSTED".
Open the "General" tab in the settings — "Temporarily set top-level sites to TRUSTED" is still checked.
Umm...that's completely expected behavior. The temporary permission is being re-created the second time you visit example.com, exactly as specified by the setting.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
User avatar
Giorgio Maone
Site Admin
Posts: 9507
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [BUG] Temporarily set top-level sites to TRUSTED glitch

Post by Giorgio Maone »

barbaz wrote: Tue Aug 20, 2024 5:42 pm
fatboy wrote: Tue Aug 20, 2024 5:26 pm Open the "General" tab in the settings — "Temporarily set top-level sites to TRUSTED" is still checked.
Umm...that's completely expected behavior. The temporary permission is being re-created the second time you visit example.com, exactly as specified by the setting.
Yes it is.
But I understand how the way the setting is labeled may generate confusion: maybe it should be changed to "Automatically set top-level sites to Temp. TRUSTED"?
Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
fatboy
Senior Member
Posts: 105
Joined: Fri Jul 25, 2014 6:56 am
Contact:

Re: [BUG] Temporarily set top-level sites to TRUSTED glitch

Post by fatboy »

"Temp TRUSTED" should be canceled when the browser restarts.Isn't it?
If the preservation of the checkbox marked is the expected behavior, maybe then it can be called "Automatically set top-level sites to TRUSTED"?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 SM/2.38 NS/2.9.0.12
User avatar
Giorgio Maone
Site Admin
Posts: 9507
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [BUG] Temporarily set top-level sites to TRUSTED glitch

Post by Giorgio Maone »

fatboy wrote: Tue Aug 20, 2024 7:20 pm "Temp TRUSTED" should be canceled when the browser restarts.Isn't it?
It is.
If you open NoScript Options>Per Site Permissions at browser start, before you visit any site, you'll see the site(s) which were set to Temp TRUSTED in the previous session are gone away (except for session restored ones).
Also, if they're included as 3rd party resources they won't be set back to Temp TRUSTED.
But if you do visit them as top level documents, they will be set back to Temp TRUSTED, as implied by the setting.
Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
fatboy
Senior Member
Posts: 105
Joined: Fri Jul 25, 2014 6:56 am
Contact:

Re: [BUG] Temporarily set top-level sites to TRUSTED glitch

Post by fatboy »

Temp TRUSTED in classic NS had limited capabilities compared to TRUSTED.
What is "Temp" now expressed in if the permission is actually issued forever?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 SM/2.38 NS/2.9.0.12
User avatar
Giorgio Maone
Site Admin
Posts: 9507
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [BUG] Temporarily set top-level sites to TRUSTED glitch

Post by Giorgio Maone »

fatboy wrote: Tue Aug 20, 2024 7:57 pm Temp TRUSTED in classic NS had limited capabilities compared to TRUSTED.
What is "Temp" now expressed in if the permission is actually issued forever?
That's no "classic" vs "now". This option (which I personally don't like, but was requested by many users) has always worked this way, and been intended as "if I explicitly navigate to a website, I automatically trust it for this session" - but I don't necessarily trust any "hidden" 3rd party script.
Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
fatboy
Senior Member
Posts: 105
Joined: Fri Jul 25, 2014 6:56 am
Contact:

Re: [BUG] Temporarily set top-level sites to TRUSTED glitch

Post by fatboy »

> …"if I explicitly navigate to a website, I automatically trust it for this session"
And for all subsequent ones, even if it is not a session restore.
OK. Sorry for taking up so much of your time.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 SM/2.38 NS/2.9.0.12
User avatar
Giorgio Maone
Site Admin
Posts: 9507
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [BUG] Temporarily set top-level sites to TRUSTED glitch

Post by Giorgio Maone »

fatboy wrote: Tue Aug 20, 2024 8:29 pm > …"if I explicitly navigate to a website, I automatically trust it for this session"
And for all subsequent ones, even if it is not a session restore.
No: not until you actually navigate it back as a top level site.
Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
User avatar
therube
Ambassador
Posts: 7966
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: [BUG] Temporarily set top-level sites to TRUSTED glitch

Post by therube »

Isn't

NoScript 11.4, Temporarily set top-level sites to TRUSTED
going to be exactly the same as
NoScript 5.1, Temporarily allow top-level sites by default

both of which are blanket trusts (for the "top-level" site), set in a global fashion, & are expected to persist a browser restart.
So in that regard, there is no issue here.

This is not a <set|allow> top-level sites, per session, it's global & always, unless & until you deselect the setting.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.20
User avatar
therube
Ambassador
Posts: 7966
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: [BUG] Temporarily set top-level sites to TRUSTED glitch

Post by therube »

maybe it should be changed to "Automatically set top-level sites to Temp. TRUSTED"?
To me, that would make it sound like it is "Temp." trusted, as in since it is "Temp", at some point, like with a browser restart, one would then expect that since it was "Temp", it would reset, but that is not the case.

It is always trusted, unless the setting is deselected.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.20
User avatar
therube
Ambassador
Posts: 7966
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: [BUG] Temporarily set top-level sites to TRUSTED glitch

Post by therube »

"Temp TRUSTED" should be canceled when the browser restarts.Isn't it?
"Temp. TRUSTED", when you "Temp. TRUSTED" a site using the NoScript dropdown icon is cancelled on a browser restart (as the setting was only, temporary).

"Temporarily set top-level sites to TRUSTED", in the NoScript Options page, is not a temporary setting, is not affected by a browser restart.


Oh.
NoScript 11.4, Temporarily set top-level sites to TRUSTED
NoScript 5.1, Temporarily allow top-level sites by default
"Temporarily".

Temporarily should be removed.
As it is not temporary, it either is or is not.

So,
NoScript 11.4, Set top-level sites to TRUSTED
NoScript 5.1, Allow top-level sites by default
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.20
User avatar
therube
Ambassador
Posts: 7966
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: [BUG] Temporarily set top-level sites to TRUSTED glitch

Post by therube »

Now, in the NoScript Options page,
"Disable restrictions globally (dangerous)" has a corresponding (option to) "Restore restrictions on browser restart"
& that would then reset a "Disable restrictions globally" - on a browser restart.

But the,
"Temporarily set top-level sites to TRUSTED" does not have that option (yet ;-) ?).

If it did, then on a browser restart, that setting to would be reset.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.20
Post Reply