update firefox support

This commit is contained in:
SethBurkart123
2024-03-21 22:23:11 +11:00
parent 17cc5943ae
commit 191cbb5560
4 changed files with 55 additions and 37 deletions
-37
View File
@@ -1,37 +0,0 @@
{
"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!!!",
"icons": {
"32": "../src/resources/icons/icon-32.png",
"48": "../src/resources/icons/icon-48.png",
"64": "../src/resources/icons/icon-64.png"
},
"browser_action": {
"browser_style": true,
"default_popup": "../src/interface/index.html#settings",
"default_icon": {
"32": "../src/resources/icons/icon-32.png",
"48": "../src/resources/icons/icon-48.png",
"64": "../src/resources/icons/icon-64.png"
}
},
"permissions": ["tabs", "notifications", "storage", "https://newsapi.org/"],
"background": {
"scripts": [
"../src/background.ts"
]
},
"content_scripts": [
{
"matches": ["*://*/*"],
"js": ["../src/SEQTA.ts"],
"run_at": "document_start"
}
],
"web_accessible_resources": [
"../src/*",
"../public/*"
]
}
+32
View File
@@ -0,0 +1,32 @@
{
"manifest_version": 3,
"name": "BetterSEQTA+",
"version": "3.2.2",
"description": "Make SEQTA usable and beautiful! A fork of BetterSEQTA to continue development and add WAY more features!!!",
"icons": {
"32": "src/resources/icons/icon-32.png",
"48": "src/resources/icons/icon-48.png",
"64": "src/resources/icons/icon-64.png"
},
"action": {
"browser_style": true,
"default_popup": "src/interface/index.html#settings",
"default_icon": {
"32": "src/resources/icons/icon-32.png",
"48": "src/resources/icons/icon-48.png",
"64": "src/resources/icons/icon-64.png"
}
},
"permissions": ["tabs", "notifications", "storage"],
"host_permissions": ["https://newsapi.org/", "*://*/*"],
"background": {
"scripts": ["src/background.ts"]
},
"content_scripts": [
{
"matches": ["*://*/*"],
"js": ["src/SEQTA.ts"],
"run_at": "document_start"
}
]
}
+22
View File
@@ -0,0 +1,22 @@
(function () {
'use strict';
const injectTime = performance.now();
(async () => {
if ("vendor/crx-client-preamble.js")
await import(
/* @vite-ignore */
chrome.runtime.getURL("vendor/crx-client-preamble.js")
);
await import(
/* @vite-ignore */
chrome.runtime.getURL("vendor/vite-client.js")
);
const { onExecute } = await import(
/* @vite-ignore */
chrome.runtime.getURL("../src/SEQTA.ts.js")
);
onExecute?.({ perf: { injectTime, loadTime: performance.now() - injectTime } });
})().catch(console.error);
})();
+1
View File
@@ -21,4 +21,5 @@ export default defineConfig({
authToken: process.env.SENTRY_AUTH_TOKEN,
}),
],
server: { port: 6000, hmr: { port: 6000 } }
})