Alter Firefox's built-in privacy settings easily with a toolbar panel.
For FAQs and instruction on how to use the extension please visit http://firefox.add0n.com/privacy-settings.html
Production version can be found at https://addons.mozilla.org/en-US/firefox/addon/privacy-settings/ Developer version can be found at https://github.com/schomery/privacy-settings/tree/master/builds
If you have modified the source code and want to see the modified version in action, you can simply compile the project yourself. Run the following command in the terminal
cd src
jpm xpi
This will generate an XPI
file for you in the src directory. Drop the file in your Firefox browser
Notes:
jpm
module is also globally available; https://www.npmjs.com/package/jpm
var prefs = Cc['@mozilla.org/preferences-service;1']
.getService(Ci.nsIPrefService);
var branch = prefs.getBranch("geo.enabled");
branch.lockPref('', true);
console.error(branch.prefIsLocked(''))