A reason the item is disabled.
How the extension was installed. One of
development: The extension was loaded unpacked in developer mode,
normal: The extension was installed normally via an .xpi file,
sideload: The extension was installed by other software on the machine,
other: The extension was installed by other means.
The type of this extension, 'extension' or 'theme'.
ConstonFired when an addon has been disabled.
ConstonFired when an addon has been enabled.
ConstonFired when an addon has been installed.
ConstonFired when an addon has been uninstalled.
Returns information about the installed extension that has the given ID.
The ID from an item of management.ExtensionInfo.
Returns a list of information about installed extensions.
Returns information about the calling extension. Note: This function can be used without requesting the 'management' permission in the manifest.
Installs and enables a theme extension from the given url.
Enables or disables the given add-on.
ID of the add-on to enable/disable.
Whether to enable or disable the add-on.
Uninstalls the calling extension. Note: This function can be used without requesting the 'management' permission in the manifest.
Optionaloptions: _UninstallSelfOptions
The
browser.managementAPI provides ways to manage the list of extensions that are installed and running.Not allowed in: Content scripts, Devtools pages