Manifest
A manifest contains information about the extension and is necessary for loading an extension.
TYPE |
---|
object |
Properties
NAME | TYPE | DESCRIPTION |
---|---|---|
name | string | The name of the extension |
version | string | The version number of the extension |
manifest_version | number | The targeted manifest version |
icon | string | An optional path to the extensions icon |
author | string | An optional author to display for the extension |
homepage_url | string | An optional link to a home page for the extension |
action | ManifestAction | An optional action for this extension |
background_url | string | An optional url to load as a background script |
Type Definitions
ManifestAction
The action definition for a manifest.
To control the action after an extension has been loaded see the Action API.
TYPE |
---|
object |
Properties
NAME | TYPE | DESCRIPTION |
---|---|---|
title | string | The initial title of the action |
icon | string | The initial icon of the action |
popover | string | The url of the popover page to load |
width | number | An optional max width for the popover |
height | number | An optional max height for the popover |