Methods

Parts of this page show the use of the XPInstall API. The majority of this API is now deprecated and as of Gecko 1.9 no longer available. Extension, Theme, and plug-in developers must switch away from install.js based packages to the new packaging scheme with an install.rdf manifest. In particular plugin developers should see how to package a plugin as an extension.

Methods

createKey
Adds a key.
deleteKey
Removes a key.
deleteValue
Removes the value of an arbitrary key.
enumKeys
Retrieves the registry subkeys for the given key.
enumValueNames
Retrieves the value of a given subkey.
getValue
Retrieves the value of an arbitrary key.
getValueNumber
Retrieves the value of a key, when that value is an integer.
getValueString
Retrieves the value of a key, when that value is a string.
isKeyWritable
Returns whether the given key is writable.
keyExists
Returns whether the given key exists or is readable.
setRootKey
Changes the root key being accessed.
setValue
Sets the value of an arbitrary key.
setValueNumber
Sets the value of a key, when that value is an integer.
setValueString
Sets the value of a key, when that value is a string.
valueExists
Returns whether the given value exists.

The WinRegValue constructor creates a WinRegValue object.