Page 1 of 1
Add to default whitelist
Posted: Thu Aug 23, 2012 5:43 pm
by staples
I am trying to add a site to the Whitelist, so a user does not get a block.
I can change noscript.untrusted to block it but there is no noscript.trusted functionality.
Help.
Re: Add to default whitelist
Posted: Thu Aug 23, 2012 6:04 pm
by therube
Allowed sites are stored in capability.policy.maonoscript.sites.
Re: Add to default whitelist
Posted: Thu Aug 23, 2012 6:09 pm
by staples
Correct. they are in capability.policy.maonoscript.sites but how to I set it for a new user?
I have tried in my mozilla.cfg file, usersettings.js ... and it does not get set.
Re: Add to default whitelist
Posted: Thu Aug 23, 2012 6:34 pm
by dhouwn
A new profile? Look in the Firefox installation directory there is a folder "defaults", maybe there is what you are looking for, just guessing though? There might be some info on this on the Mozilla wiki.
Or do you want to create a custom Firefox installation? Also for this searching the Firefox wiki on this might prove helpful, you might also want to check out the
blog posts by Mike Kaply on customizing Firefox.
Re: Add to default whitelist
Posted: Thu Aug 23, 2012 7:09 pm
by therube
Perhaps hack around with the installer XPI ?
Code: Select all
\noscript-2.5.2rc1.xpi\defaults\preferences\noscript.js
(Since you're hacking, you'd have to remove the validation information ... & update with each NoScript update ...)
Re: Add to default whitelist
Posted: Fri Aug 24, 2012 10:41 am
by staples
therube,
That works and it is what I am looking for. Thank you.
Yes I am hacking, this is what I do-->
I unzip No Script xpi, then I copy the contents to a named folder (named with the guid in install.rdf).
example xcopy "{73a6fe31-595d-460b-a920-fcc0f8843232}\*.*" "%ProgramFiles(x86)%\Mozilla Firefox\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}\*.*" /s/e/v/y
Then edit the "%ProgramFiles(x86)%\Mozilla Firefox\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}\defaults\preferences\noscript.js" file and add my entries to pref "noscript.default".