There are some default whitelist entries such as paypal.com, netflix.com and many others.
(file common/Policy.js function defaultOptions and file legacy/defaults.js)
Could you please add a feature, that if a specific environment variable is set, don't set these defaults and keep the default white list empty?
Related:
https://trac.torproject.org/projects/tor/ticket/31798
[feature request] pref to overwrite default whitelist
[feature request] pref to overwrite default whitelist
Last edited by adrelanos on Sat Sep 21, 2019 1:40 pm, edited 1 time in total.
Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0
Re: [feature request] environment variable to clear default whitelist
Sorry but there is currently no way for a WebExtension to read environment variables.
This sounds like a Tor Browser issue, reporting to them was the right place.adrelanos wrote: ↑Thu Sep 19, 2019 11:27 am Related:
https://trac.torproject.org/projects/tor/ticket/31798
*Always* check the changelogs BEFORE updating that important software!
-
Re: [feature request] environment variable to clear default whitelist
Ok, understood.
Alternatively,
Could you please add a pref?
By pref I mean related to about:config. The default whitelist could be an about:config string. Such as:
Such a pref could then be added to user.js by Tor Browser developers and/or users.
Alternatively,
Could you please add a pref?
By pref I mean related to about:config. The default whitelist could be an about:config string. Such as:
Code: Select all
extensions.noscript.whitelist
Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0
Re: [feature request] pref to overwrite default whitelist
Unfortunately WebExtensions can't read about:config prefs either.
If there's anything for NoScript to do here, it would likely need to be based on its existing means to detect Tor Browser. (I'm not sure how that detection works.)
If there's anything for NoScript to do here, it would likely need to be based on its existing means to detect Tor Browser. (I'm not sure how that detection works.)
*Always* check the changelogs BEFORE updating that important software!
-
Re: [feature request] pref to overwrite default whitelist
I see.
In https://github.com/hackademix/noscript/ ... -533972482 I further changed my feature request as in "some mechanism that any webextension can use". Would you prefer to use https://github.com/hackademix/noscript/ ... -533972482 to avoid duplication?
In https://github.com/hackademix/noscript/ ... -533972482 I further changed my feature request as in "some mechanism that any webextension can use". Would you prefer to use https://github.com/hackademix/noscript/ ... -533972482 to avoid duplication?
Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0
Re: [feature request] pref to overwrite default whitelist
No, we would prefer the discussion be kept here, thanks.adrelanos wrote: ↑Mon Sep 23, 2019 7:51 am Would you prefer to use https://github.com/hackademix/noscript/ ... -533972482 to avoid duplication?
*Always* check the changelogs BEFORE updating that important software!
-