Make manifest.json and manifest-ff.json more similar:

- manifest-ff.json: add "homepage_url" (shows up in FF addons 'manage' pane)
- manifest.json, manifest-ff.json: reorder "browser_action" to match
- manifest.json: add "browser_action.default_icon"
- manifest.json: split "permissions" into lines like manifest-ff.json
- manifest.json: use 2-char indents like manifest-ff.json
This commit is contained in:
Bela Lubkin 2020-03-27 00:56:27 -07:00
parent ef82518e49
commit 54c1689b43
2 changed files with 41 additions and 31 deletions

View File

@ -60,19 +60,20 @@
}
},
"browser_action": {
"default_popup": "popup.html",
"default_icon": {
"128": "bypass.png"
},
"theme_icons": [
{
"light": "bypass-dark.png",
"dark": "bypass.png",
"size": 128
}
]
],
"default_popup": "popup.html",
"default_icon": {
"128": "bypass.png"
}
},
"description": "Bypass News Sites' Paywalls",
"homepage_url": "https://github.com/iamadamdev/bypass-paywalls-chrome/blob/master/README.md",
"icons": {
"128": "bypass.png"
},

View File

@ -7,7 +7,10 @@
},
"content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'",
"browser_action": {
"default_popup": "popup.html"
"default_popup": "popup.html",
"default_icon": {
"128": "bypass.png"
}
},
"description": "Bypass News Sites' Paywalls",
"homepage_url": "https://github.com/iamadamdev/bypass-paywalls-chrome/blob/master/README.md",
@ -23,6 +26,12 @@
"chrome_style": true,
"page": "options.html"
},
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "webRequestBlocking"],
"permissions": [
"cookies",
"storage",
"webRequest",
"webRequestBlocking",
"<all_urls>"
],
"version": "1.7.0"
}