I am using NoScript and it is a very usefull addon.
As i use serveral clients and profiles i update all profiles due a batch-File. (it is a portable Firefox - therefore it works without any problems)
Sometimes i need to change something in the pref.js so i need to include this file.
The problem is, that this would cause a loss of all NoScript settings saved in the pref.js.
It would be nice and very usefull if NoScript saves his settings in an own file located in the profil. For example create an folder with an json in it, or use an sqlite-Database, or an xml or something else.
Move NoScript-Settings from pref.js to own file
Move NoScript-Settings from pref.js to own file
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
- Giorgio Maone
- Site Admin
- Posts: 9530
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Move NoScript-Settings from pref.js to own file
Couldn't your batch isolate them using grep/awk/perl or whatever Windows equivalent exists (if you use batches, I strongly recommend either switching to a *X system or trying CygWin
) to isolate the NoScript bits, which all start with
or
?
Code: Select all
user_pref("noscript.
Code: Select all
user_pref("capability.policy.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Re: Move NoScript-Settings from pref.js to own file
Code: Select all
user_pref("noscript.ABE.migration", 1);
user_pref("noscript.gtemp", "");
user_pref("noscript.subscription.lastCheck", 1735493411);
user_pref("noscript.temp", "");
user_pref("noscript.version", "2.6.8.33");
user_pref("noscript.visibleUIChecked", true);As far as i see online the main
Code: Select all
user_pref("capability.policy.maonoscript.As workaround i am using code due the batch, but it would be easier if the settings are saved in own files.
code for the moment is
Code: Select all
find "capability.policy.maonoscript.sites" ....\%alteVersion%\Data\profile\prefs.js >> ....\Data\profile\prefs.jsMozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
Re: Move NoScript-Settings from pref.js to own file
ok i have found serveral settings and blocked them via cck2.
An own file would be nice, as the pref of firefox isn't intendend to save there such things.
An own file would be nice, as the pref of firefox isn't intendend to save there such things.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0