refac: improve multi browser support

This commit is contained in:
sethburkart123
2024-08-29 16:28:56 +10:00
parent f996e4bf19
commit 125ebfbaea
26 changed files with 519 additions and 133 deletions
+46
View File
@@ -0,0 +1,46 @@
{
"manifest_version": 3,
"name": "BetterSEQTA+",
"version": "3.3.1",
"description": "Enhance SEQTA Learn's usability and aesthetics! A fork of BetterSEQTA to continue development add add heaps more features!",
"icons": {
"32": "resources/icons/icon-32.png",
"48": "resources/icons/icon-48.png",
"64": "resources/icons/icon-64.png"
},
"action": {
"browser_style": true,
"default_popup": "interface/index.html#settings",
"default_icon": {
"32": "resources/icons/icon-32.png",
"48": "resources/icons/icon-48.png",
"64": "resources/icons/icon-64.png"
}
},
"permissions": ["tabs", "notifications", "storage"],
"host_permissions": ["https://newsapi.org/", "*://*/*"],
"background": {
"service_worker": "background.ts"
},
"content_scripts": [
{
"matches": ["*://*/*"],
"js": ["SEQTA.ts"],
"run_at": "document_start"
}
],
"web_accessible_resources": [
{
"resources": ["interface/index.html"],
"matches": ["*://*/*"]
},
{
"resources": ["seqta/ui/background/background.html"],
"matches": ["*://*/*"]
},
{
"resources": ["*://*/*"],
"matches": ["*://*/*"]
}
]
}