diff --git a/src/manifest.json b/src/manifest.json index 03d0497..52504f8 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,23 +1,24 @@ { "name": "Web Maker", "version": "4.2.0", - "manifest_version": 2, + "manifest_version": 3, "description": "Blazing fast & offline playground for your web experiments", "homepage_url": "https://webmaker.app", - "permissions": ["storage", "tabs", ""], + "permissions": ["storage", "tabs"], "optional_permissions": ["downloads"], - "content_security_policy": "script-src 'self' filesystem: http://localhost:* https://localhost:* https://apis.google.com https://ajax.googleapis.com https://code.jquery.com https://cdnjs.cloudflare.com https://unpkg.com https://maxcdn.com https://cdn77.com https://maxcdn.bootstrapcdn.com https://cdn.jsdelivr.net/ https://*.stripe.com/ https://builds.framerjs.com/ https://rawgit.com https://wzrd.in https://www.gstatic.com https://semantic-ui.com https://www.google-analytics.com https://cdn.tailwindcss.com 'unsafe-eval'; object-src 'self'", - "options_ui": { - "page": "options.html", - "chrome_style": true + "content_security_policy": { + "extension_pages": "script-src 'self'; object-src 'self'", + "sandbox": "sandbox allow-scripts; scripts-src 'self' 'http://localhost:*' 'https://localhost:*' 'https://apis.google.com' 'https://ajax.googleapis.com' 'https://code.jquery.com' 'https://cdnjs.cloudflare.com' 'https://unpkg.com' 'https://maxcdn.com' 'https://cdn77.com' 'https://maxcdn.bootstrapcdn.com' 'https://cdn.jsdelivr.net/' 'https://*.stripe.com/' 'https://builds.framerjs.com/' 'https://rawgit.com' 'https://wzrd.in' 'https://www.gstatic.com' 'https://semantic-ui.com' 'https://www.google-analytics.com' 'https://cdn.tailwindcss.com'" }, - "browser_action": { + "options_ui": { + "page": "options.html" + }, + "action": { "default_title": "Start Web Maker", "default_icon": "icon-16.png" }, "background": { - "scripts": ["eventPage.js"], - "persistent": false + "service_worker": "eventPage.js" }, "icons": { "16": "icon-16.png",