ExtensionInfo
AnExtensionInfo object contains information about an add-on.
In this article
Type
It is an object with the following properties:
descriptionstring. The add-on's description, taken from the manifest.jsondescription key.disabledReasonstring. If the add-on is disabled, the reason it was disabled. One of "unknown" or "permissions_increase".enabledboolean. Whether or not the add-on is currently enabled.homepageUrlstring. The add-on's homepage URL, taken from the manifest.jsonhomepage_url key.hostPermissionsarrayofstring. The add-on'shost permissions.iconsarrayofobject. 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.
idstring. The add-on's ID.installTypestring. 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.
mayDisableboolean. Whether this add-on can be disabled or uninstalled by the user.namestring. The add-on's name, taken from the manifest.jsonname key.offlineEnabledboolean. Whether the add-on claims to support offline.optionsUrlstring. URL for the item'soptions page, if it has one. This is a relative URL, starting at the add-on's root.permissionsarrayofstring. The add-on'sAPI permissions.shortNamestring. A short version of the add-on's name, taken from the manifest.jsonshort_name key.typestring. 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"
updateUrlstring. URL for updates to this add-on, taken from the manifest.jsonbrowser_specific_settings key.versionstring. Version of this add-on, taken from the manifest.jsonversion key.versionNamestring. Descriptive name for this add-on's version, taken from the manifest.jsonversion_name key.
Browser compatibility
Note:This API is based on Chromium'schrome.management API. This documentation is derived frommanagement.json in the Chromium code.