chore(manifest): Upgrade to v3

Not sure if it is correct, security policy likely isn't.
This commit is contained in:
Isaac
2022-08-28 19:07:45 +01:00
parent cbc2acff7a
commit c2a7e5223b
2 changed files with 14 additions and 9 deletions

View File

@@ -1,12 +1,12 @@
{ {
"manifest_version": 2, "manifest_version": 3,
"offline_enabled": true, "offline_enabled": true,
"default_locale": "en", "default_locale": "en",
"name": "__MSG_name__", "name": "__MSG_name__",
"description": "__MSG_description__", "description": "__MSG_description__",
"version": "7.0.0", "version": "7.0.0",
"homepage_url": "https://muetab.com", "homepage_url": "https://muetab.com",
"browser_action": { "action": {
"default_icon": "icons/128x128.png" "default_icon": "icons/128x128.png"
}, },
"chrome_url_overrides": { "chrome_url_overrides": {
@@ -17,9 +17,11 @@
"48": "icons/48x48.png", "48": "icons/48x48.png",
"128": "icons/128x128.png" "128": "icons/128x128.png"
}, },
"content_security_policy": "script-src 'self' https://api.bing.com https://www.google.com; object-src 'self'", "content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'",
"sandbox": "script-src 'self' https://api.bing.com https://www.google.com; object-src 'self'"
},
"background": { "background": {
"persistent": false, "service_worker": "background-chrome.js"
"scripts": ["background-chrome.js"]
} }
} }

View File

@@ -1,10 +1,10 @@
{ {
"manifest_version": 2, "manifest_version": 3,
"name": "Mue", "name": "Mue",
"description": "Fast, open and free-to-use new tab page for modern browsers.", "description": "Fast, open and free-to-use new tab page for modern browsers.",
"version": "7.0.0", "version": "7.0.0",
"homepage_url": "https://muetab.com", "homepage_url": "https://muetab.com",
"browser_action": { "action": {
"default_icon": "icons/128x128.png" "default_icon": "icons/128x128.png"
}, },
"chrome_url_overrides": { "chrome_url_overrides": {
@@ -18,5 +18,8 @@
"chrome_settings_overrides": { "chrome_settings_overrides": {
"homepage": "index.html" "homepage": "index.html"
}, },
"content_security_policy": "script-src 'self' https://api.bing.com https://www.google.com; object-src 'self'" "content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'",
"sandbox": "script-src 'self' https://api.bing.com https://www.google.com; object-src 'self'"
}
} }