From 8a3d8d9122cb1ab9f4ac5f44e5c64fad66f50906 Mon Sep 17 00:00:00 2001 From: Daniel Dada Date: Tue, 17 Jun 2025 00:06:03 +0300 Subject: [PATCH] refactor: remove background script and update permissions --- background.js | 0 manifest.json | 17 ++++++++++------- utils.js | 0 3 files changed, 10 insertions(+), 7 deletions(-) delete mode 100644 background.js delete mode 100644 utils.js diff --git a/background.js b/background.js deleted file mode 100644 index e69de29..0000000 diff --git a/manifest.json b/manifest.json index 22d4c85..00e68fa 100644 --- a/manifest.json +++ b/manifest.json @@ -4,18 +4,21 @@ "version": "1.0", "description": "Highlight text on web pages", "default_locale": "en", - "permissions": ["storage", "scripting", "activeTab"], + "permissions": [ + "storage" + ], "action": { "default_popup": "popup/popup.html", "default_icon": "icons/icon128.png" }, - "background": { - "service_worker": "background.js" - }, "content_scripts": [ { - "matches": [""], - "js": ["content.js"], + "matches": [ + "" + ], + "js": [ + "content.js" + ], "run_at": "document_idle" } ], @@ -23,4 +26,4 @@ "48": "icons/icon48.png", "128": "icons/icon128.png" } -} +} \ No newline at end of file diff --git a/utils.js b/utils.js deleted file mode 100644 index e69de29..0000000