Unstable
Listen to changes to the Preferences system in Firefox. This enables add-ons to listen to change events to the system-wide settings. These are the same preferences that are exposed to users in the about:config
page.
preferences/service
gives you full access to the preferences system. You can also use the simple-prefs module to access just the preferences for your own add-on and expose them to the user in the Add-on Manager.
Globals
Constructor
PrefsTarget(options)
Parameters
Example:
var name = "extensions.checkCompatibility.nightly"; require("sdk/preferences/service").set(name, false);