mirror of
https://github.com/mue/mue.git
synced 2026-06-08 14:10:42 +02:00
chore(manifest): Upgrade to v3
Not sure if it is correct, security policy likely isn't.
This commit is contained in:
@@ -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"]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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'"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user