chore(manifest): add background script, remove default icon and popup and upgrade version
This commit is contained in:
parent
38b82af3c9
commit
95393fde08
@ -1,27 +1,36 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Do Not Consent",
|
||||
"version": "3.2.4",
|
||||
"version": "3.3.0",
|
||||
"default_locale": "en",
|
||||
"description": "__MSG_appDesc__",
|
||||
"icons": {
|
||||
"16": "assets/icon16.png",
|
||||
"32": "assets/icon32.png",
|
||||
"48": "assets/icon48.png",
|
||||
"128": "assets/icon128.png"
|
||||
},
|
||||
"browser_action": {
|
||||
"default_icon": "assets/icon32.png",
|
||||
"default_popup": "popup.html",
|
||||
"default_icon": "assets/icon-disabled.png",
|
||||
"default_title": "Do Not Consent"
|
||||
},
|
||||
"author": "wanhose",
|
||||
"background": {
|
||||
"persistent": false,
|
||||
"scripts": ["scripts/background.js"]
|
||||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
"all_frames": true,
|
||||
"js": ["scripts/content.js"],
|
||||
"matches": ["http://*/*", "https://*/*"],
|
||||
"run_at": "document_start"
|
||||
}
|
||||
],
|
||||
"web_accessible_resources": ["data/*", "scripts/popup.js", "styles/*"]
|
||||
"permissions": ["storage", "tabs", "unlimitedStorage"],
|
||||
"web_accessible_resources": [
|
||||
"data/elements.txt",
|
||||
"scripts/popup.js",
|
||||
"styles/index.css",
|
||||
"styles/reset.css"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user