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.
Add to default whitelist
-
staples
Add to default whitelist
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Re: Add to default whitelist
Allowed sites are stored in capability.policy.maonoscript.sites.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20120823 Firefox/16.0 SeaMonkey/2.13a2
-
staples
Re: Add to default whitelist
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.
I have tried in my mozilla.cfg file, usersettings.js ... and it does not get set.
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Re: Add to default whitelist
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.
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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20120821 Firefox/16.0
Re: Add to default whitelist
Perhaps hack around with the installer XPI ?
(Since you're hacking, you'd have to remove the validation information ... & update with each NoScript update ...)
Code: Select all
\noscript-2.5.2rc1.xpi\defaults\preferences\noscript.js
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20120823 Firefox/16.0 SeaMonkey/2.13a2
Re: Add to default whitelist
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".
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".
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)