working firefox

This commit is contained in:
SethBurkart123
2023-11-17 07:10:10 +11:00
parent d3ab0e3171
commit e12e1afd4c
4 changed files with 113 additions and 140 deletions
+1
View File
@@ -19,6 +19,7 @@
object-fit: cover;
}
</style>
<script type="application/javascript" src="/browser-polyfill.js"></script>
</head>
<body>
<!-- Container for the media -->
+37 -67
View File
@@ -1,79 +1,49 @@
{
"manifest_version": 3,
"manifest_version": 2,
"name": "BetterSEQTA+",
"version": "3.2.0",
"description": "Make SEQTA usable and beautiful! A fork of BetterSEQTA to continue development and add WAY more features!!!",
"description": "A dark-themed Firefox/Chrome Extension that adds additional features and gives an overall better experience for SEQTA Learn.",
"icons": {
"32": "icons/icon-32.png",
"48": "icons/icon-48.png",
"64": "icons/icon-64.png"
"48": "icons/icon-48.png"
},
"action": {
"browser_style": true,
"default_popup": "popup/info.html",
"default_icon": {
"32": "icons/icon-32.png",
"48": "icons/icon-48.png",
"64": "icons/icon-64.png"
}
"browser_action": {
"browser_style": true,
"default_popup": "popup/info.html",
"default_icon": {
"32": "icons/icon-32.png",
"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": [
"background.js"
]
},
"optional_permissions": ["declarativeContent"],
"optional_permissions": [
"*://*/*",
"declarativeContent"
],
"content_scripts": [
{
"matches": ["https://*.edu.au/*"],
"js": ["purify.min.js", "SEQTA.js"],
"run_at": "document_start"
}
{
"matches": [
"https://*.edu.au/*"
],
"js": [
"SEQTA.js"
],
"run_at": "document_start"
}
],
"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/*",
"images/*",
"inject/*",
"popup/*"
]
}
}