diff --git a/manifest.json b/manifest.json index 380b9f5..e1360de 100644 --- a/manifest.json +++ b/manifest.json @@ -1,19 +1,29 @@ { - "background": { - "scripts": [ "shopAI.js" ] - }, - "browser_action": { + "manifest_version": 3, + "name": "__MSG_manifest_name__", + "description": "__MSG_manifest_description__", + "version": "0", + + "permissions": [ "tabs", "activeTab", "storage"], + + "action": { "default_icon": "gui/icons/logo_no_tiny.png", "default_popup": "gui/popup.htm" - }, - "description": "Shop wisely with AI!", - "icons": { - "1024": "gui/icons/logo.png", - "512": "gui/icons/logo_tiny.png" - }, - "manifest_version": 2, - "name": "ShopAI", - "options_page": "gui/popup.htm", - "permissions": [ "tabs", "webRequest", "webRequestBlocking", "*://*/*" ], - "version": "1" + }, + + "content_scripts": [ + { + "matches": ["http://*/*", "https://*/*"], + "js": ["shopAI.js"] + } + ], + + "icons": { + "1024": "gui/icons/logo.png", + "512": "gui/icons/logo_tiny.png" + }, + + "options_page": "gui/popup.htm", + + "default_locale": "en" }