From 80c9749844be114c3e80204781b63262f9a93f2a Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Fri, 25 Oct 2024 11:25:05 +0800 Subject: [PATCH] modify manifest for Firefox build --- src/manifest.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/manifest.json b/src/manifest.json index b058623..948bb79 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -7,7 +7,7 @@ "permissions": ["tabs", "storage", "unlimitedStorage"], "background": { - "service_worker": "scripts/background/shopAI.js", "type": "module" + "scripts": ["scripts/background/shopAI.js"] }, "action": { "default_popup": "pages/popup.htm" @@ -30,7 +30,9 @@ "512": "media/icons/logo_tiny.png" }, - "options_page": "pages/settings.htm", + "options_ui": { + "page": "pages/settings.htm" + }, "default_locale": "en" }