Information about an installed extension.

interface ExtensionInfo {
    description: string;
    disabledReason?: ExtensionDisabledReason;
    enabled: boolean;
    homepageUrl?: string;
    hostPermissions?: string[];
    icons?: IconInfo[];
    id: string;
    installType: ExtensionInstallType;
    mayDisable: boolean;
    name: string;
    optionsUrl: string;
    permissions?: string[];
    shortName?: string;
    type: ExtensionType;
    updateUrl?: string;
    version: string;
    versionName?: string;
}
Index
description: string

The description of this extension.

disabledReason?: ExtensionDisabledReason

A reason the item is disabled.

enabled: boolean

Whether it is currently enabled or disabled.

homepageUrl?: string

The URL of the homepage of this extension.

hostPermissions?: string[]

Returns a list of host based permissions.

icons?: IconInfo[]

A list of icon information. Note that this just reflects what was declared in the manifest, and the actual image at that url may be larger or smaller than what was declared, so you might consider using explicit width and height attributes on img tags referencing these images. See the manifest documentation on icons for more details.

id: string

The extension's unique identifier.

How the extension was installed.

mayDisable: boolean

Whether this extension can be disabled or uninstalled by the user.

name: string

The name of this extension.

optionsUrl: string

The url for the item's options page, if it has one.

permissions?: string[]

Returns a list of API based permissions.

shortName?: string

A short version of the name of this extension.

The type of this extension, 'extension' or 'theme'.

updateUrl?: string

The update URL of this extension.

version: string

The version of this extension.

versionName?: string

The version name of this extension if the manifest specified one.