Resetting Noscript

Ask for help about NoScript, no registration needed to post
hesier99
Posts: 1
Joined: Thu Nov 30, 2017 11:24 am

Resetting Noscript

Post by hesier99 » Thu Nov 30, 2017 11:51 am

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.

Thanks!
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

blublevita
Posts: 9
Joined: Mon Sep 26, 2016 9:03 am

Re: Resetting Noscript

Post by blublevita » Thu Nov 30, 2017 1:01 pm

Edit:
Do not follow this advice! See the next post.

According to the NoScript 5 FAQ
https://noscript.net/faq#qa2_3
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.
Last edited by blublevita on Fri Dec 01, 2017 12:10 am, edited 1 time in total.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

Guest

Re: Resetting Noscript

Post by Guest » Thu Nov 30, 2017 1:08 pm

It's 'storage-sync.sqlite' you want to delete to reset NS10.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

blublevita
Posts: 9
Joined: Mon Sep 26, 2016 9:03 am

Re: Resetting Noscript

Post by blublevita » Fri Dec 01, 2017 12:07 am

Hmm, well that's certainly more efficient that my effort. :lol:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

Post Reply