ExtensionInfo

An ExtensionInfo object contains information about an add-on.

Type

It is an object with the following properties:

description

string. The add-on's description, taken from the manifest.json description key.

disabledReason

string. If the add-on is disabled, the reason it was disabled. One of "unknown" or "permissions_increase".

enabled

boolean. Whether or not the add-on is currently enabled.

homepageUrl

string. The add-on's homepage URL, taken from the manifest.json homepage_url key.

hostPermissions

array of string. The add-on's host permissions.

icons

array of object. Information about the add-on's icons. An array of objects, one for each icon. Each object contains two properties:

  • size: an integer representing the icon's width and height in pixels.
  • url: a string containing a relative URL to the icon, starting at the add-on's root.
id

string. The add-on's ID.

installType

string. String describing how the add-on was installed. One of the following:

  • "admin": the add-on was installed because of an administrative policy.
  • "development": the add-on was installed unpacked from disk.
  • "normal": the add-on was installed normally from an install package.
  • "sideload": the add-on was installed by some other software on the user's computer.
  • "other": the add-on was installed in some other way.
mayDisable

boolean. Whether this add-on can be disabled or uninstalled by the user.

name

string. The add-on's name, taken from the manifest.json name key.

offlineEnabled

boolean. Whether the add-on claims to support offline.

optionsUrl

string. URL for the item's options page, if it has one. This is a relative URL, starting at the add-on's root.

permissions

array of string. The add-on's API permissions.

shortName

string. A short version of the add-on's name, taken from the manifest.json short_name key.

type

string. String describing the type of add-on. This is used to distinguish extensions from apps and themes. It may take any of the following values:

  • "extension": most common type of add-on.
  • "hosted_app"
  • "packaged_app"
  • "legacy_packaged_app"
  • "theme"
updateUrl

string. URL for updates to this add-on, taken from the manifest.json browser_specific_settings key.

version

string. Version of this add-on, taken from the manifest.json version key.

versionName

string. Descriptive name for this add-on's version, taken from the manifest.json version_name key.

Browser compatibility

desktop mobile
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
ExtensionInfo
Chrome – Full support
Chrome 8 (Release date: 2010-12-02)
footnote Full support
Edge – Full support
Edge 79 (Release date: 2020-01-15)
footnote Full support
Firefox – Full support
Firefox 51 (Release date: 2017-01-24)
footnote Full support
Opera – Full support
Opera 15 (Release date: 2013-07-02)
footnote Full support
Safari – No support
Safari
footnote No support
Firefox for Android – Full support
Firefox for Android 51 (Release date: 2017-01-24)
footnote Full support
Safari on iOS – No support
Safari on iOS
footnote No support
disabledReason
Chrome – Full support
Chrome 58 (Release date: 2017-04-19)
footnote Full support
Edge – Full support
Edge 79 (Release date: 2020-01-15)
footnote Full support
Firefox – No support
Firefox
footnote No support
Opera – Full support
Opera 45 (Release date: 2017-05-10)
footnote Full support
Safari – No support
Safari
footnote No support
Firefox for Android – No support
Firefox for Android
footnote No support
Safari on iOS – No support
Safari on iOS
footnote No support
installType
Chrome – Full support
Chrome 8 (Release date: 2010-12-02)
footnote Full support
Edge – Full support
Edge 79 (Release date: 2020-01-15)
footnote Full support
Firefox – Partial support
Firefox 51 – 126 (Release date: 2017-01-24)
footnote Partial support
footnote When the add-on is installed using an enterprise policy the value "other" is set, rather than the expected value of "admin".
Firefox – Full support
Firefox 127 (Release date: 2024-06-11)
footnote Full support
Opera – Full support
Opera 15 (Release date: 2013-07-02)
footnote Full support
Safari – No support
Safari
footnote No support
Firefox for Android – Partial support
Firefox for Android 51 – 126 (Release date: 2017-01-24)
footnote Partial support
footnote When the add-on is installed using an enterprise policy the value "other" is set, rather than the expected value of "admin".
Firefox for Android – Full support
Firefox for Android 127 (Release date: 2024-06-11)
footnote Full support
Safari on iOS – No support
Safari on iOS
footnote No support
offlineEnabled
Chrome – Full support
Chrome 58 (Release date: 2017-04-19)
footnote Full support
Edge – Full support
Edge 79 (Release date: 2020-01-15)
footnote Full support
Firefox – No support
Firefox
footnote No support
Opera – Full support
Opera 45 (Release date: 2017-05-10)
footnote Full support
Safari – No support
Safari
footnote No support
Firefox for Android – No support
Firefox for Android
footnote No support
Safari on iOS – No support
Safari on iOS
footnote No support
type
Chrome – Full support
Chrome 58 (Release date: 2017-04-19)
footnote Full support
Edge – Full support
Edge 79 (Release date: 2020-01-15)
footnote Full support
Firefox – Full support
Firefox 55 (Release date: 2017-08-08)
footnote Full support
Opera – Full support
Opera 45 (Release date: 2017-05-10)
footnote Full support
Safari – No support
Safari
footnote No support
Firefox for Android – Full support
Firefox for Android 55 (Release date: 2017-08-08)
footnote Full support
Safari on iOS – No support
Safari on iOS
footnote No support
versionName
Chrome – Full support
Chrome 58 (Release date: 2017-04-19)
footnote Full support
Edge – Full support
Edge 79 (Release date: 2020-01-15)
footnote Full support
Firefox – No support
Firefox
footnote No support
Opera – Full support
Opera 45 (Release date: 2017-05-10)
footnote Full support
Safari – No support
Safari
footnote No support
Firefox for Android – No support
Firefox for Android
footnote No support
Safari on iOS – No support
Safari on iOS
footnote No support

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Partial support
Partial support
No support
No support
Has more compatibility info.

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