Add to default whitelist

Ask for help about NoScript, no registration needed to post
staples

Add to default whitelist

Post 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.
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
User avatar
therube
Ambassador
Posts: 7991
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Add to default whitelist

Post by therube »

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

Post 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.
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: Add to default whitelist

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20120821 Firefox/16.0
User avatar
therube
Ambassador
Posts: 7991
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Add to default whitelist

Post 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 ...)
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
Posts: 1
Joined: Thu Aug 23, 2012 6:09 pm

Re: Add to default whitelist

Post 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".
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Post Reply