Page 1 of 1

Resetting Noscript

Posted: Thu Nov 30, 2017 11:51 am
by hesier99
Does anyone know an easy way to reset all my site info? I tried deleting it in the debug window but it just returns. The website suggests modifying prefs.js but I think that was an older feature of firefox as I can't find it anywhere. I'm stuck with NoScript no longer working because all of my allowed sites have been set to 'script only' :(

Removing the plugin and reinstalling doesn't help either unfortunately.


Re: Resetting Noscript

Posted: Thu Nov 30, 2017 1:01 pm
by blublevita
Do not follow this advice! See the next post.

According to the NoScript 5 FAQ
Your NoScript configuration, including permissions (whitelist/blacklist) and other settings, is stored together with all your Firefox preferences, inside your browser profile folder (prefs.js file).
If you are on NoScript 5, then read the FAQ.

The FAQ partially doesn't apply to NoScript 10. For instance, there are no commands to export or import the whitelist yet. Difficulty level is easy to intermediate, but I can suggest trying the following:
  1. Close Firefox (open these instructions in another browser).
  2. Backup your profile in case things don't work.
  3. Open your browser profile folder in your favorite file manager.
  4. Find prefs.js (root folder of profile).
  5. Make a copy of prefs.js. You can leave the copy in the profile folder.
  6. Open prefs.js in a text editor. If you use Windows and don't usually use text editors, Notepad should do.
  7. Do a search (usually Ctl+F) for the string "capability.policy.maonoscript.sites".
  8. Delete the long list of domains listed after this. Be sure to leave at least the quotes (see below). This will really remove all URLs, including things like "moz-extension:".
  9. Save the file and close the text editor.
  10. Start Firefox and check out the new status of NoScript.
The line that starts user_pref that you just edited should look like this:

Code: Select all

user_pref("capability.policy.maonoscript.sites", "");
If you do this, I would appreciate it if you let us know whether it worked.

Re: Resetting Noscript

Posted: Thu Nov 30, 2017 1:08 pm
by Guest
It's 'storage-sync.sqlite' you want to delete to reset NS10.

Re: Resetting Noscript

Posted: Fri Dec 01, 2017 12:07 am
by blublevita
Hmm, well that's certainly more efficient that my effort. :lol: