by FrustratedNS » Sat Dec 02, 2017 3:59 am
Ok,
I've browsed that info page.
u
But, nowhere does it seem obvious where I can set what "Default" is for novel websites/scripts that I encounter. It is easy enough to disable a site, but a big pain since one expects them to be blocked when one opens the site (for security), and often there are dozens of junk scripts.
So, for example, when I encounter "DoubleClick" for the first time, Noscript sets the permissions to "Default", which is apparently "Enable" until I specifically go in and disable it.
I've browsed the NoScript Options page, but that just lists the sites that one has chosen to blacklist/whitelist, but it is not obvious how to set the global default options. Although there were quite a few sites showing as "Trusted" by default that I ordinarily would have "Untrusted" by default (Outlook, Netflix, etc were "Trusted" when I would have defaulted them as "Untrusted", not that they need to be untrusted, just I don't use them at all).
WashintonPost, for example, gives me a BUNCH of scripts, and they all seem to default to enabled (by default).
I'm not sure if this is anything, but the following looks a bit odd, under: moz-extension://[...]/ui/options.js (linking back from the options page):
newSiteForm.addEventListener("submit", e => {
e.preventDefault();
e.stopPropagation();
let site = newSiteInput.value.trim();
let valid = Sites.isValid(site);
if (valid && canAdd(site)) {
policy.set(site, policy.TRUSTED);
newSiteInput.value = "";
sitesUI.populate(policy.sites);
sitesUI.highlight(site);
}
}, true);
Ok,
I've browsed that info page.
u
But, nowhere does it seem obvious where I can set what "Default" is for novel websites/scripts that I encounter. It is easy enough to disable a site, but a big pain since one expects them to be blocked when one opens the site (for security), and often there are dozens of junk scripts.
So, for example, when I encounter "DoubleClick" for the first time, Noscript sets the permissions to "Default", which is apparently "Enable" until I specifically go in and disable it.
I've browsed the NoScript Options page, but that just lists the sites that one has chosen to blacklist/whitelist, but it is not obvious how to set the global default options. Although there were quite a few sites showing as "Trusted" by default that I ordinarily would have "Untrusted" by default (Outlook, Netflix, etc were "Trusted" when I would have defaulted them as "Untrusted", not that they need to be untrusted, just I don't use them at all).
WashintonPost, for example, gives me a BUNCH of scripts, and they all seem to default to enabled (by default).
I'm not sure if this is anything, but the following looks a bit odd, under: moz-extension://[...]/ui/options.js (linking back from the options page):
newSiteForm.addEventListener("submit", e => {
e.preventDefault();
e.stopPropagation();
let site = newSiteInput.value.trim();
let valid = Sites.isValid(site);
if (valid && canAdd(site)) {
[b]policy.set(site, policy.TRUSTED);[/b]
newSiteInput.value = "";
sitesUI.populate(policy.sites);
sitesUI.highlight(site);
}
}, true);