forked from mirrors/gecko-dev
Bundle Firefox Translation as a builtin pref'd off addon in Nightly only Differential Revision: https://phabricator.services.mozilla.com/D114810
115 lines
2.4 KiB
JSON
115 lines
2.4 KiB
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "Firefox Translations",
|
|
"description": "__MSG_extensionDescription__",
|
|
"version": "0.4.0",
|
|
"incognito": "spanning",
|
|
"default_locale": "en_US",
|
|
"background": {
|
|
"scripts": [
|
|
"commons.js",
|
|
"background.js"
|
|
]
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"js": [
|
|
"commons.js"
|
|
],
|
|
"matches": [
|
|
"<all_urls>"
|
|
],
|
|
"all_frames": true,
|
|
"run_at": "document_idle",
|
|
"match_about_blank": false
|
|
},
|
|
{
|
|
"js": [
|
|
"dom-translation-content-script.js"
|
|
],
|
|
"matches": [
|
|
"<all_urls>"
|
|
],
|
|
"all_frames": true,
|
|
"run_at": "document_idle",
|
|
"match_about_blank": false
|
|
}
|
|
],
|
|
"permissions": [
|
|
"<all_urls>",
|
|
"storage"
|
|
],
|
|
"icons": {
|
|
"16": "icons/translation.16x16.png",
|
|
"32": "icons/translation.32x32.png"
|
|
},
|
|
"hidden": false,
|
|
"experiment_apis": {
|
|
"extensionPreferences": {
|
|
"schema": "./experiment-apis/extensionPreferences/schema.json",
|
|
"parent": {
|
|
"scopes": [
|
|
"addon_parent"
|
|
],
|
|
"script": "./experiment-apis/extensionPreferences/api.js",
|
|
"paths": [
|
|
[
|
|
"experiments",
|
|
"extensionPreferences"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"telemetryEnvironment": {
|
|
"schema": "./experiment-apis/telemetryEnvironment/schema.json",
|
|
"parent": {
|
|
"scopes": [
|
|
"addon_parent"
|
|
],
|
|
"script": "./experiment-apis/telemetryEnvironment/api.js",
|
|
"paths": [
|
|
[
|
|
"experiments",
|
|
"telemetryEnvironment"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"telemetryPreferences": {
|
|
"schema": "./experiment-apis/telemetryPreferences/schema.json",
|
|
"parent": {
|
|
"scopes": [
|
|
"addon_parent"
|
|
],
|
|
"script": "./experiment-apis/telemetryPreferences/api.js",
|
|
"paths": [
|
|
[
|
|
"experiments",
|
|
"telemetryPreferences"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"translateUi": {
|
|
"schema": "./experiment-apis/translateUi/schema.json",
|
|
"parent": {
|
|
"scopes": [
|
|
"addon_parent"
|
|
],
|
|
"script": "./experiment-apis/translateUi/api.js",
|
|
"paths": [
|
|
[
|
|
"experiments",
|
|
"translateUi"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"applications": {
|
|
"gecko": {
|
|
"id": "firefox-translations@mozilla.org",
|
|
"strict_min_version": "90.0a1"
|
|
}
|
|
}
|
|
}
|