noscript icon indicating copy to clipboard operation
noscript copied to clipboard

Does 'Disable Restrictions for Tab' button honour 'Untrusted' setting for domain?

Open jimbobmcgee opened this issue 6 years ago • 3 comments

I love the Disable for Tab feature, but recently got to wondering if, by using it, I am actually allowing third-party script domains that I've previously marked as Untrusted to run normally.

For example, if google-analytics.com is Untrusted, but Disable for Tab is clicked on a page that uses GA, is google-analytics.com now effectively Temp Trusted?

If so, would two states for Disable for Tab (i.e. including Untrusted and excluding Untrusted) be a good idea? In particular where not trusting previously-Untrusted scripts was the default.

jimbobmcgee avatar Nov 16 '18 20:11 jimbobmcgee

Yes, I confirm disabling all restrictions means all, including those implied from the UNTRUSTED preset, and yes, an option like "Enforce the UNTRUSTED preset even when restrictions are disabled globally or for a tab." (even checked by default, to replicate NoScript 5's default behavior) is a good idea. I'll try to implement it after 10.2, thanks.

hackademix avatar Nov 25 '18 22:11 hackademix

I've always felt the need for something on these lines, but this exact approach might cause a lot of confusion.

But, I'm thinking that besides the Temp. Trusted and TRUSTED buttons available for each domain, we could add a new Disable for this tab button, something like this:

image

For the domain in the screenshot, I need the first party script on several pages and on others I also need to enable a 3rd party script. But I want any change to go away as soon as I close the tab, I don't want the changes to linger on if I forget to revert them. Currently I can't do that, and I would very much like to avoid using the Temp. Trusted, TRUSTED or the Disable restrictions for this tab buttons.

If others find this useful, I could spend the time to implement it.

SchnWalter avatar Mar 27 '22 15:03 SchnWalter

@SchnWalter - if that is something you are still interested in/willing to implement, I could certainly see a use for it.

I don't particularly like that, when temp trusting something, it is automatically/retrospectively applied to all open and subsequent tabs, and being able to limit to just the current tab would certainly fix that. (Ironically, I came today to ask for this very thing, and thought I'd check the progress of my old issues, only to find that you had suggested the very same thing I had come to ask!)

But for the purposes of this issue, I would still like to be able to disable restrictions for the current tab and choose whether it honours the existing unstrusted setting or not.

I'm not sure how far into the 10.3 milestone v11.4.26 is...:smile:

jimbobmcgee avatar Sep 13 '23 21:09 jimbobmcgee