Recovery Utility for Sandboxed NoScript Whitelist

Utilities designed for use with Sandboxie
Post Reply
TimW
Posts: 37
Joined: Sat Sep 06, 2008 2:45 pm

Recovery Utility for Sandboxed NoScript Whitelist

Post by TimW » Wed Jul 13, 2011 6:51 pm

I wrote this VBS script because I keep forgetting to recover NoScript whitelist changes made while sandboxed, and didn't want to provide direct access to my Firefox preferences. The attached script includes a prefix with short Synopsis and Usage comments, and the rest of the script executes with mostly in-line code so is pretty easy to follow or modify. (This script restores only those whitelist changes created from the NoScript "Allow..." option, not the "Temporarily Allow..." option.)

To use, start Firefox in the default sandbox, then launch the script, either before or after making new whitelist rules with NoScript. When you exit Firefox, the line containing NoScript's whitelist in the non-sandboxed preferences file is overwritten with the corresponding line from the sandboxed file. Note that this replaces only one line of your Firefox preferences file. No other lines of your preference file are changed.

I'm strictly an amateur programmer, but I've used the script quite a bit and found that it runs cleanly on my system.

The script includes a check for the Win7 OS because I don't have the ability to debug on older Windows versions. That OS check could be commented-out to try it on Vista, XP, etc.

Not sure if administrator rights are required, but I'm in that group on my PC. If needed, a non-admin user could run the script from a desktop shortcut the a Task Scheduler to raise the rights. In any case, I find it convenient use a desktop shortcut.

Download Link: http://www.sendspace.com/file/yr6z19

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Thu Jul 14, 2011 7:01 am

Thanks!
tzuk

TimW
Posts: 37
Joined: Sat Sep 06, 2008 2:45 pm

Post by TimW » Thu Jan 03, 2013 6:01 pm

Here is a new download link to the same RecoverNoScript.vbs file (zipped).

https://sites.google.com/site/mysite567 ... r-download

FYI, this script is still working well for me on Win 7.


(I got tired of refreshing my free SendSpace account, which the old link pointed to.)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests