moved firefox to manifest v2, it works!

This commit is contained in:
Alphons
2023-12-02 22:52:31 +08:00
parent acba86d325
commit dcb66ca2d3
+22 -50
View File
@@ -1,5 +1,5 @@
{
"manifest_version": 3,
"manifest_version": 2,
"name": "BetterSEQTA+",
"version": "3.2.2",
"description": "Make SEQTA usable and beautiful! A fork of BetterSEQTA to continue development and add WAY more features!!!",
@@ -8,7 +8,7 @@
"48": "icons/icon-48.png",
"64": "icons/icon-64.png"
},
"action": {
"browser_action": {
"browser_style": true,
"default_popup": "interface/index.html#settings",
"default_icon": {
@@ -17,12 +17,17 @@
"64": "icons/icon-64.png"
}
},
"permissions": ["tabs", "notifications", "storage"],
"host_permissions": ["https://newsapi.org/", "*://*/*"],
"permissions": ["tabs", "notifications", "storage", "https://newsapi.org/"],
"background": {
"service_worker": "background.js"
"scripts": [
"browser-polyfill.js",
"background.js"
]
},
"optional_permissions": ["declarativeContent"],
"optional_permissions": [
"*://*/*",
"declarativeContent"
],
"content_scripts": [
{
"matches": ["*://*/*"],
@@ -31,49 +36,16 @@
}
],
"web_accessible_resources": [
{
"resources": ["icons/*"],
"matches": ["*://*/*"]
},
{
"resources": ["fonts/*"],
"matches": ["*://*/*"]
},
{
"resources": ["images/*"],
"matches": ["*://*/*"]
},
{
"resources": ["css/*"],
"matches": ["*://*/*"]
},
{
"resources": ["popup/*"],
"matches": ["*://*/*"]
},
{
"resources": ["client.js"],
"matches": ["*://*/*"]
},
{
"resources": ["index.css"],
"matches": ["*://*/*"]
},
{
"resources": ["interface/*"],
"matches": ["*://*/*"]
},
{
"resources": ["client/*"],
"matches": ["*://*/*"]
},
{
"resources": ["resources/*"],
"matches": ["*://*/*"]
},
{
"resources": ["backgrounds/*"],
"matches": ["*://*/*"]
}
"icons/*",
"fonts/*",
"images/*",
"css/*",
"popup/*",
"client.js",
"index.css",
"interface/*",
"client/*",
"resources/*",
"backgrounds/*"
]
}