|
@@ -1,20 +1,21 @@
|
|
|
{
|
|
{
|
|
|
- "manifest_version": 3,
|
|
|
|
|
|
|
+ "manifest_version": 2,
|
|
|
"name": "脚本助手",
|
|
"name": "脚本助手",
|
|
|
- "version": "1.1.18",
|
|
|
|
|
|
|
+ "version": "1.1.19",
|
|
|
"description": "脚本助手",
|
|
"description": "脚本助手",
|
|
|
"icons": {
|
|
"icons": {
|
|
|
"16": "./img/16.png",
|
|
"16": "./img/16.png",
|
|
|
"48": "./img/48.png",
|
|
"48": "./img/48.png",
|
|
|
"128": "./img/128.png"
|
|
"128": "./img/128.png"
|
|
|
},
|
|
},
|
|
|
- "action": {
|
|
|
|
|
|
|
+ "browser_action": {
|
|
|
"default_icon": "img/48.png",
|
|
"default_icon": "img/48.png",
|
|
|
"default_title": "脚本助手",
|
|
"default_title": "脚本助手",
|
|
|
"default_popup": "popup.html"
|
|
"default_popup": "popup.html"
|
|
|
},
|
|
},
|
|
|
"background": {
|
|
"background": {
|
|
|
- "service_worker": "background.js"
|
|
|
|
|
|
|
+ "persistent": true,
|
|
|
|
|
+ "scripts": ["background.js"]
|
|
|
},
|
|
},
|
|
|
"content_scripts": [
|
|
"content_scripts": [
|
|
|
{
|
|
{
|
|
@@ -29,18 +30,15 @@
|
|
|
"background",
|
|
"background",
|
|
|
"activeTab",
|
|
"activeTab",
|
|
|
"webRequest",
|
|
"webRequest",
|
|
|
- "declarativeNetRequest",
|
|
|
|
|
- "notifications"
|
|
|
|
|
- ],
|
|
|
|
|
- "optional_host_permissions": [
|
|
|
|
|
- "*://*/*"
|
|
|
|
|
- ],
|
|
|
|
|
- "host_permissions": [
|
|
|
|
|
- "*://*/*"
|
|
|
|
|
|
|
+ "webRequestBlocking",
|
|
|
|
|
+ "notifications",
|
|
|
|
|
+ "http://*/*",
|
|
|
|
|
+ "https://*/*"
|
|
|
],
|
|
],
|
|
|
"homepage_url": "https://github.com/PUGE",
|
|
"homepage_url": "https://github.com/PUGE",
|
|
|
"options_page": "options.html",
|
|
"options_page": "options.html",
|
|
|
"options_ui": {
|
|
"options_ui": {
|
|
|
- "page": "options.html"
|
|
|
|
|
|
|
+ "page": "options.html",
|
|
|
|
|
+ "chrome_style": true
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|