Type | Object |
---|---|
Mandatory | Usually, no (but see also When do you need an Add-on ID?). Mandatory before Firefox 48 (desktop) and Firefox for Android. |
Example |
"applications": { "gecko": { "id": "addon@example.com", "strict_min_version": "42.0" } } |
The applications
key contains keys that are specific to a particular host application.
Currently this contains just one key, gecko
, which may contain four string attributes:
id
is the extension ID. Optional from Firefox 48, mandatory before Firefox 48. See Extensions and the Add-on ID to see when you need to specify an add-on ID.strict_min_version
: minimum version of Gecko to support. Versions containing a "*" are not valid in this field. Defaults to "42a1".strict_max_version
: maximum version of Gecko to support. If the Firefox version on which the extension is being installed or run is above this version, then the extension will be disabled, or not permitted to be installed. Defaults to "*", which disables checking for a maximum version.update_url
is a link to an extension update manifest. Note that the link must begin with "https". This key is for managing extension updates yourself (i.e. not through AMO).
Examples
Example with all possible keys. Note that most extensions will omit strict_max_version
and update_url
.
"applications": { "gecko": { "id": "addon@example.com", "strict_min_version": "42.0", "strict_max_version": "50.*", "update_url": "https://example.com/updates.json" } }
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Chrome | Edge | Firefox | Firefox for Android | Opera | |
---|---|---|---|---|---|
Basic support | No | No | 48 | 48 | No |
Document Tags and Contributors
Tags:
Contributors to this page:
andrewtruongmoz,
wbamberg,
timdream,
Makyen,
andymckay,
bsilverberg,
m_gol,
lv7777,
kmaglione,
dirty-bit,
AlexPl
Last updated by:
andrewtruongmoz,