[Resolved] Why is user.js ignored when setting whitelist?
Posted: Sat Dec 21, 2013 6:11 pm
Hi there,
I want to do something rather unusual -- maintain my whitelist as a text-based configuration in user.js.
I'm fine with whitelist changes I make in the browser being lost. I want to store the whitelist in this format so that I can use puppet to deploy it on various machines.
Anyway, I thought that if I set "capability.policy.maonoscript.sites" in user.js, like so (just using google.com for the whitelisted domain example, plus the standard domains):
Then that whitelist should take effect. However, whatever I specify in user.js is just disregarded. It doesn't override prefs.js like user.js is supposed to. Why would this be? Any other way I can maintain my whitelist as a text file?
Cheers!
I want to do something rather unusual -- maintain my whitelist as a text-based configuration in user.js.
I'm fine with whitelist changes I make in the browser being lost. I want to store the whitelist in this format so that I can use puppet to deploy it on various machines.
Anyway, I thought that if I set "capability.policy.maonoscript.sites" in user.js, like so (just using google.com for the whitelisted domain example, plus the standard domains):
Code: Select all
user_pref("capability.policy.maonoscript.sites", "google.com about: about:addons about:blank about:blocked about:certerror about:config about:crashes about:home about:memory about:neterror about:plugins about:privatebrowsing about:sessionrestore about:support blob: chrome: resource:");Cheers!