feat: add Firefox Android compatibility to manifest
- Move notifications and contextMenus to optional_permissions - Set options_ui open_in_tab to true (required on Android) - Add gecko_android with strict_min_version 113.0 - Bump version to 1.1.1
Cette révision appartient à :
@@ -1,18 +1,19 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"background": {
|
"background": {
|
||||||
"service_worker": "background.js",
|
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"background.js"
|
"background.js"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"name": "YTPTube Extension",
|
"name": "YTPTube Extension",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"description": "Add URLs to YTPTube instance",
|
"description": "Add URLs to YTPTube instance",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"activeTab",
|
"activeTab",
|
||||||
|
"storage"
|
||||||
|
],
|
||||||
|
"optional_permissions": [
|
||||||
"contextMenus",
|
"contextMenus",
|
||||||
"storage",
|
|
||||||
"notifications"
|
"notifications"
|
||||||
],
|
],
|
||||||
"optional_host_permissions": [
|
"optional_host_permissions": [
|
||||||
@@ -28,7 +29,7 @@
|
|||||||
},
|
},
|
||||||
"options_ui": {
|
"options_ui": {
|
||||||
"page": "options.html",
|
"page": "options.html",
|
||||||
"open_in_tab": false
|
"open_in_tab": true
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
"default_title": "Add URL to YTPTube",
|
"default_title": "Add URL to YTPTube",
|
||||||
@@ -43,12 +44,15 @@
|
|||||||
"browser_specific_settings": {
|
"browser_specific_settings": {
|
||||||
"gecko": {
|
"gecko": {
|
||||||
"id": "ytptube@arabcoders.org",
|
"id": "ytptube@arabcoders.org",
|
||||||
"strict_min_version": "128.0",
|
"strict_min_version": "113.0",
|
||||||
"data_collection_permissions": {
|
"data_collection_permissions": {
|
||||||
"required": [
|
"required": [
|
||||||
"none"
|
"none"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"gecko_android": {
|
||||||
|
"strict_min_version": "113.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"content_security_policy": {
|
"content_security_policy": {
|
||||||
|
|||||||
Référencer dans un nouveau ticket
Bloquer un utilisateur