From ec9990bdb91a05d42939e6fb00672c6bf8150418 Mon Sep 17 00:00:00 2001 From: Tangent / Rose / Nebula Rosa Date: Sun, 20 Oct 2024 22:45:30 +0000 Subject: [PATCH] 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. --- manifest.json | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/manifest.json b/manifest.json index cb2ce1f..5c3a28c 100644 --- a/manifest.json +++ b/manifest.json @@ -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 + } +}