management

This article needs a technical review. How you can help.

This article needs an editorial review. How you can help.

This API provides ways to manage the list of extensions that are installed and running.

Types

management.IconInfo
Information about an icon belonging to an extension.
management.ExtensionDisabledReason
A reason the item is disabled.
management.ExtensionType
The type of this extension. Will always be 'extension'.
management.ExtensionInstallType
How the extension was installed.
management.ExtensionInfo
Information about an installed extension.

Functions

management.getAll
Returns a list of information about installed extensions.
management.get
Returns information about the installed extension that has the given ID.
management.getSelf
Returns information about the calling extension. Note: This function can be used without requesting the 'management' permission in the manifest.
management.uninstallSelf
Uninstalls the calling extension. Note: This function can be used without requesting the 'management' permission in the manifest.

Browser compatibility

Chrome incompatibilities

  • Firefox does not support:
    • LaunchType
    • get()
    • getAll()
    • getPermissionWarningsById()
    • getPermissionWarningsByManifest()
    • setEnabled()
    • uninstall()
    • launchApp()
    • createAppShortcut()
    • setLaunchType()
    • generateAppForLink()
    • onInstalled
    • onUninstalled
    • onEnabled
    • onDisabled

Acknowledgements

This API is based on Chromium's chrome.management API. This documentation is derived from management.json in the Chromium code.

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.

Document Tags and Contributors

 Contributors to this page: evilpie
 Last updated by: evilpie,