Deactivate the 'script' option in the TRUSTED settings

Ask for help about NoScript, no registration needed to post
NoScriptNik
Posts: 3
Joined: Thu Dec 06, 2018 3:32 pm

Deactivate the 'script' option in the TRUSTED settings

Post by NoScriptNik » Mon Dec 10, 2018 9:14 am

Hello,

Is it possible to deactivate the script option in the predefined settings General > TRUSTED, which is inactive now (grey), and how?
On the following screenshot is an example in German:
Image

Reason:
I set the Top-Level domain to be set automatically temporarily as trusted ("autoAllowTop": true), to display the text correctly on each new web page which I visit, what is very helpful, because from now on I don't have to switch anymore manually every time for every page from UNTRUSTED to temporarily DEFAULT or TRUSTED.
But the text can be displayed correctly on the most web pages also without activating the scripts, so it would be better to leave them deactivated to avoid wasting resources (page and CPU load), especially when several tabs are open.
Why is this option predefined as inactive / Grey?

My current NoScript settings:

Code: Select all

{
  "policy": {
    "DEFAULT": {
      "capabilities": [],
      "temp": false
    },
    "TRUSTED": {
      "capabilities": [
        "script",
        "media",
        "frame",
        "font",
        "webgl",
        "fetch",
        "other",
        "object"
      ],
      "temp": false
    },
    "UNTRUSTED": {
      "capabilities": [],
      "temp": false
    },
    "sites": {
      "trusted": [
        "§:addons.mozilla.org"
      ],
      "untrusted": [
        "§:google-analytics.com",
        "§:google.com"
      ],
      "custom": {
        }
      }
    },
    "enforced": true,
    "autoAllowTop": true
  },
  "local": {
    "debug": false,
    "showCtxMenuItem": true,
    "showCountBadge": true,
    "showFullAddresses": true,
    "storage": "local",
    "uuid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  },
  "sync": {
    "global": false,
    "xss": true,
    "clearclick": true,
    "storage": "sync"
  },
  "xssUserChoices": {
    "https://tpc.googlesyndication.com>https://ad.doubleclick.net": "block"
  }
}
Mozilla/5.0 (Windows NT 6.1; rv:62.0) Gecko/20100101 Firefox/62.0

barbaz
Senior Member
Posts: 9038
Joined: Sat Aug 03, 2013 5:45 pm

Re: Deactivate the 'script' option in the TRUSTED settings

Post by barbaz » Mon Dec 10, 2018 2:56 pm

"display the text correctly" is probably the "font" permission. Have you considered just enabling "font" in DEFAULT preset, and not automatically Temp. Trusting top-level sites?
*Always* check the changelogs BEFORE updating that important software!
-

NoScriptNik
Posts: 3
Joined: Thu Dec 06, 2018 3:32 pm

Re: Deactivate the 'script' option in the TRUSTED settings

Post by NoScriptNik » Tue Dec 11, 2018 1:07 pm

Hello @barbaz,
Have you considered just enabling "font" in DEFAULT preset, and not automatically Temp. Trusting top-level sites?
yes of course, but I don't wont to activate any options in DEFAULT preset, to enable them on all new sites. My strategy is to leave any options disabled in DEFAULT preset and to enable only font on the opened Top-Level domains.
It is such a very simple solution, because it requires only a few manual switches (for certain web pages).

Greetings
Mozilla/5.0 (Windows NT 6.1; rv:62.0) Gecko/20100101 Firefox/62.0

Post Reply