Exporting the whitelist (which carries the exception list at its end), I see several groups.
The first group has no protocol at the start of each entry.
Following groups have pseudo protocols "abline:" and "about:"; then come groups with protocols "file://", "http://", and "https://" preceding the entry.
Most, but not all, sites appear 3 times, with prefixes: 1) no protocol, 2) "http://", and 3) "https://".
Question: As I edit the list, do I need to add a new site 3 times? Or would it be sufficient to just add it once without a prefix.
In other words, if I add only "abc123.com" to the whitelist, will http://abc123.com and https://abc123.com also automatically be allowed?
Follow-up: Is adding a site without a protocol to the exception list sufficient to block access no matter what protocol is requested?
Thanks!
Editing whitelist site prefixes: https vs http vs neither
Editing whitelist site prefixes: https vs http vs neither
Mozilla/5.0 (Windows NT 5.1; rv:38.9) Gecko/20100101 Goanna/2.2 Firefox/38.9 PaleMoon/26.5.0
Re: Editing whitelist site prefixes: https vs http vs neithe
Don't remember but I think the extra entries will be automatically generated as needed. Why not try it and see?
Make sure it's a 2nd-level domain (like informaction.com, google.com, noscript.net) as the extra entries are not needed nor generated for "fuller" domains (forums.informaction.com, apis.google.com).
Let us know the results, thanks.
Make sure it's a 2nd-level domain (like informaction.com, google.com, noscript.net) as the extra entries are not needed nor generated for "fuller" domains (forums.informaction.com, apis.google.com).
Let us know the results, thanks.
Adding the site in what way? To what exception list?JMThomas wrote:Follow-up: Is adding a site without a protocol to the exception list sufficient to block access no matter what protocol is requested?
*Always* check the changelogs BEFORE updating that important software!
-
Re: Editing whitelist site prefixes: https vs http vs neithe
I'm merging lists from different machines. I can do some scripting to extract all the site names, generate all three forms, and build a rather large file for importing on the new machine. In the interests of NoScript performance, I don't want to have NoScript building lists any larger than they need to be.
I would think that just adding the site without a protocol would cover things, unless one was trying to be very tricky and allow scripts only served by a site via HTPPS protocol and suppress the same site sending a script under plain HTTP protocol.
Since I use additional tools like HTTPS everywhere, all I care about is a blanket "yes"/"no" decision about a site, no matter how it serves content.
I'm hoping a developer can might deign to make a quick "do this" answer.
PS: While I can sort (the two sections of) the file I've built to be imported, is doing so necessary?
I would think that just adding the site without a protocol would cover things, unless one was trying to be very tricky and allow scripts only served by a site via HTPPS protocol and suppress the same site sending a script under plain HTTP protocol.
Since I use additional tools like HTTPS everywhere, all I care about is a blanket "yes"/"no" decision about a site, no matter how it serves content.
I'm hoping a developer can might deign to make a quick "do this" answer.
PS: While I can sort (the two sections of) the file I've built to be imported, is doing so necessary?
Last edited by JMThomas on Wed Dec 07, 2016 6:18 am, edited 1 time in total.
Mozilla/5.0 (Windows NT 5.1; rv:38.9) Gecko/20100101 Goanna/2.2 Firefox/38.9 PaleMoon/26.5.0
Re: Editing whitelist site prefixes: https vs http vs neithe
While I can try, I'm not sure my testing would fully cover things as I'm not sure how "under the covers" redirects and URL re-writing (think HTTPS Everywhere) will affect my trials.barbaz wrote:Don't remember but I think the extra entries will be automatically generated as needed. Why not try it and see?
Make sure it's a 2nd-level domain (like informaction.com, google.com, noscript.net) as the extra entries are not needed nor generated for "fuller" domains (forums.informaction.com, apis.google.com).
Let us know the results, thanks.
Export the whitelist, then edit the exported file. Scrolling down past the [UNTRUSTED] line, and insert lines with sites that are to be blacklisted. Then import the edited file.barbaz wrote:Adding the site in what way? To what exception list?JMThomas wrote:Follow-up: Is adding a site without a protocol to the exception list sufficient to block access no matter what protocol is requested?
Mozilla/5.0 (Windows NT 5.1; rv:38.9) Gecko/20100101 Goanna/2.2 Firefox/38.9 PaleMoon/26.5.0
Re: Editing whitelist site prefixes: https vs http vs neithe
It won't at all. You only need to check that the extra entries are automatically added to about:config > noscript.untrusted (or, if you edit the whitelist, capability.policy.maonoscript.sites).JMThomas wrote:While I can try, I'm not sure my testing would fully cover things as I'm not sure how "under the covers" redirects and URL re-writing (think HTTPS Everywhere) will affect my trials.
Well, in that case only Giorgio can help you, as he's the only NoScript developer.JMThomas wrote:I'm hoping a developer can might deign to make a quick "do this" answer.
*Always* check the changelogs BEFORE updating that important software!
-