mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
update firefox support
This commit is contained in:
@@ -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/*"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
|
||||||
|
})();
|
||||||
@@ -21,4 +21,5 @@ export default defineConfig({
|
|||||||
authToken: process.env.SENTRY_AUTH_TOKEN,
|
authToken: process.env.SENTRY_AUTH_TOKEN,
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
server: { port: 6000, hmr: { port: 6000 } }
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user