diff --git a/manifest.json b/manifest.json index c028ad9..a902000 100644 --- a/manifest.json +++ b/manifest.json @@ -1,16 +1,17 @@ { - "manifest_version": 2, + "manifest_version": 3, "name": "Notion Themes", "version": "0.0.2", "description": "Make your Notion pretty with custom themes.", - "permissions": ["storage", "https://notionthemes.netlify.app/"], + "permissions": ["storage"], + "host_permissions": ["https://notionthemes.netlify.app/"], "icons": { "16": "icons/16.png", "48": "icons/48.png", "128": "icons/128.png" }, "background": { - "scripts": ["background.js"] + "service_worker": "background.js" }, "content_scripts": [ { @@ -18,7 +19,7 @@ "js": ["js/content.js"] } ], - "browser_action": { + "action": { "default_title": "Choose a theme", "default_popup": "popup.html", "default_icon": {