Manifest v3 (fixes #1)

Persistence runs slightly faster but uses a tiny bit more memory. My stuff is super simple anyhow so this should be an improvement for all. Considering how much tabs are closed or opened, this is probably better.
This commit is contained in:
Tangent / Rose / Nebula Rosa 2024-10-20 22:45:30 +00:00
parent ea6c20ae51
commit ec9990bdb9

View File

@ -1,18 +1,22 @@
{
"manifest_version": 2,
"name": "The Snap",
"description": "Too many tabs open? Halve your workload.",
"version": "1.0",
"icons": {
"16": "images/gauntlet16.png",
"32": "images/gauntlet32.png",
"48": "images/gauntlet48.png",
"128": "images/gauntlet128.png"
},
"browser_action": {},
"permissions": [ "tabs" ],
"background": {
"scripts": [ "background.js" ],
"persistent": false
}
}
{
"manifest_version": 3,
"name": "The Snap",
"description": "Too many tabs open? Halve your workload.",
"version": "1.1",
"icons": {
"16": "images/gauntlet16.png",
"32": "images/gauntlet32.png",
"48": "images/gauntlet48.png",
"128": "images/gauntlet128.png"
},
"author": "rose@tangentfox.com",
"action": {},
"permissions": [
"tabs"
],
"background": {
"service_worker": "background.js",
"scripts": [ "background.js" ],
"persistent": true
}
}