Reset settings

Ask for help about NoScript, no registration needed to post

Reset settings

Post by David44 » Tue Aug 07, 2018 9:15 pm

I'm installing NoScript for unexperienced users for a long time and am testing NS10 now. I miss a feature. Until now I put some lines into user.js to reset some settings at every start up to FF52 ESR:

user_pref("noscript.contentBlocker", true);
user_pref("", false);
user_pref("capability.policy.maonoscript.sites", "...");
user_pref("noscript.untrusted", "...");

How can this be done with NS10+?
Thank you.

Senior Member
Posts: 213
Joined: Wed Jan 10, 2018 7:37 am

Re: Reset settings

Post by skriptimaahinen » Tue Aug 07, 2018 9:34 pm

Unfortunately webextensions, which NS10 is, cannot read or write preferences, so modifying those settings would not affect NS10 in any way. The noscript prefs you see in about:config are residue from NS5 and no longer in use. Currently, afaik, the only way to alter webextensions settings are through the extension itself (e.g. settings page).
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Senior Member
Posts: 139
Joined: Sun Jul 08, 2018 5:38 pm

Re: settings??

Post by musonius » Thu Apr 04, 2019 4:39 pm

Extension settings are no longer available in about:config or user.js.

What you can do is customize NoScript, export the settings (this is available on the NoScript settings page), and import the file wherever you want. However, one cannot automatically reset anything at every start of Firefox this way.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Post Reply