Using the Custom selector
Using the Custom selector
I recently started using this feature but I've run into a problem where the single domain set under custom reverts to 'any site'. I haven't been able to pin down a specific cause or timing of when that happens. Any idea how to keep that from happening?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0
Re: Allow FB scripts only on facebook.com?
That is not a setting, it's a selector for which permissions to display/configure. Your configured custom permissions should still be there and should show if you select the single domain.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0
Using the Custom selector
(This is a follow-up to my comment in the 'Allow FB scripts only on facebook.com?' thread.)
I'm trying to use Custom and I'm not sure I'm doing it correctly. Specifically I'm trying to allow www.google.com to run scripts only when I'm on a google.com page. Here's what I did and what happened.
1) I start at https://www.google.com/
2) In NoScript I select Custom on the line for https://www.google.com/, check the script box and at the top where it has 'Enable these capabilities when top page matches' I select '...google.com'
3) When I go to a page on another domain that uses a script from www.google.com (for example https://x10hosting.com/login) the script is loaded and run, and the 'Enable these capabilities' for www.google.com shows 'ANY SITE', which is not what I selected earlier.
Am I misunderstanding how this is supposed to work?
I'm trying to use Custom and I'm not sure I'm doing it correctly. Specifically I'm trying to allow www.google.com to run scripts only when I'm on a google.com page. Here's what I did and what happened.
1) I start at https://www.google.com/
2) In NoScript I select Custom on the line for https://www.google.com/, check the script box and at the top where it has 'Enable these capabilities when top page matches' I select '...google.com'
3) When I go to a page on another domain that uses a script from www.google.com (for example https://x10hosting.com/login) the script is loaded and run, and the 'Enable these capabilities' for www.google.com shows 'ANY SITE', which is not what I selected earlier.
Am I misunderstanding how this is supposed to work?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0
Re: Using the Custom selector
The way it should work is:
1) start at https://www.google.com/
2) NoScript popup > set ...google.com to CUSTOM
3) set "Enable these capabilities when top page matches" to "ANY SITE", and set the shown permissions to what you want for most sites
4) set "Enable these capabilities when top page matches" to "...google.com", and set the shown permissions to what you want for only on google.com
Changing the selection in the drop-down does not make any changes to any permissions. It's more like switching between different tabs (like in NoScript Options > General > (Default/Trusted/Untrusted) tabs)
1) start at https://www.google.com/
2) NoScript popup > set ...google.com to CUSTOM
3) set "Enable these capabilities when top page matches" to "ANY SITE", and set the shown permissions to what you want for most sites
4) set "Enable these capabilities when top page matches" to "...google.com", and set the shown permissions to what you want for only on google.com
Changing the selection in the drop-down does not make any changes to any permissions. It's more like switching between different tabs (like in NoScript Options > General > (Default/Trusted/Untrusted) tabs)
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0
Re: Using the Custom selector
Ah! I totally get it now. Thanks for your help.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0