change manifest

This commit is contained in:
Crazypersonalph
2023-12-05 12:53:10 +08:00
parent 8466d1e20d
commit 768e12d0ac
+52 -22
View File
@@ -1,12 +1,14 @@
{ {
"manifest_version": 2, "manifest_version": 3,
"name": "BetterSEQTA+", "name": "BetterSEQTA+",
"version": "3.2.2", "version": "3.2.2",
"description": "Make SEQTA usable and beautiful! A fork of BetterSEQTA to continue development and add WAY more features!!!", "description": "Make SEQTA usable and beautiful! A fork of BetterSEQTA to continue development and add WAY more features!!!",
"icons": { "icons": {
"48": "icons/icon-48.png" "32": "icons/icon-32.png",
"48": "icons/icon-48.png",
"64": "icons/icon-64.png"
}, },
"browser_action": { "action": {
"browser_style": true, "browser_style": true,
"default_popup": "interface/index.html#settings", "default_popup": "interface/index.html#settings",
"default_icon": { "default_icon": {
@@ -15,16 +17,11 @@
"64": "icons/icon-64.png" "64": "icons/icon-64.png"
} }
}, },
"permissions": ["tabs", "notifications", "storage", "https://newsapi.org/"], "permissions": ["tabs", "notifications", "storage"],
"host_permissions": ["https://newsapi.org/", "*://*/*"],
"background": { "background": {
"scripts": [ "service_worker": "background.js"
"browser-polyfill.js",
"background.js"
]
}, },
"optional_permissions": [
"*://*/*"
],
"content_scripts": [ "content_scripts": [
{ {
"matches": ["*://*/*"], "matches": ["*://*/*"],
@@ -33,16 +30,49 @@
} }
], ],
"web_accessible_resources": [ "web_accessible_resources": [
"icons/*", {
"fonts/*", "resources": ["icons/*"],
"images/*", "matches": ["*://*/*"]
"css/*", },
"popup/*", {
"client.js", "resources": ["fonts/*"],
"index.css", "matches": ["*://*/*"]
"interface/*", },
"client/*", {
"resources/*", "resources": ["images/*"],
"backgrounds/*" "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": ["*://*/*"]
}
] ]
} }