この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
Note that this key is not supported by Blink-based browsers (Google Chrome and Opera).
Type | Object |
---|---|
Mandatory | No (and only supported in Gecko). Mandatory before Firefox 48. |
Example |
"gecko": { "id": "[email protected]", "strict_min_version": "42.0", "strict_max_version": "50.*", "update_url": "https://example.com/updates.json" } |
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 WebExtensions 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". Requires Gecko 45strict_max_version
: maximum version of Gecko to support. Defaults to "*". Requires Gecko 45update_url
is a link to an add-on update manifest. Note that the link must begin with "https". Requires Gecko 45
Chrome incompatibilities
You can't use this key in Chrome extensions.
Examples
Example with all possible keys.
"applications": { "gecko": { "id": "[email protected]", "strict_min_version": "42.0", "strict_max_version": "50.*", "update_url": "https://example.com/updates.json" } }