|
@@ -6,8 +6,18 @@
|
|
|
"background": {
|
|
|
"service_worker": "/js/background.js"
|
|
|
},
|
|
|
+ "icons": {
|
|
|
+ "16": "/logo/16.png",
|
|
|
+ "48": "/logo/48.png",
|
|
|
+ "128": "/logo/128.png"
|
|
|
+ },
|
|
|
"action": {
|
|
|
"default_popup": "popup.html"
|
|
|
+ // "default_icon": {
|
|
|
+ // "16": "/logo/16.png",
|
|
|
+ // "48": "/logo/48.png",
|
|
|
+ // "128": "/logo/128.png"
|
|
|
+ // }
|
|
|
},
|
|
|
"content_scripts": [
|
|
|
{
|
|
@@ -23,8 +33,8 @@
|
|
|
"host_permissions": [
|
|
|
"*://*/*",
|
|
|
"https://de-net-test.piaoquantv.com"
|
|
|
- ],
|
|
|
- "permissions":[
|
|
|
+ ],
|
|
|
+ "permissions": [
|
|
|
"tabs",
|
|
|
"action",
|
|
|
"cookies",
|
|
@@ -37,14 +47,13 @@
|
|
|
"options_page": "options.html",
|
|
|
"web_accessible_resources": [
|
|
|
{
|
|
|
- "resources": [
|
|
|
- "/iframe/publish.html",
|
|
|
- "/iframe/red-packet.html"
|
|
|
- ],
|
|
|
- "matches": [
|
|
|
- "<all_urls>"
|
|
|
- ]
|
|
|
+ "resources": [
|
|
|
+ "/iframe/publish.html",
|
|
|
+ "/iframe/red-packet.html"
|
|
|
+ ],
|
|
|
+ "matches": [
|
|
|
+ "<all_urls>"
|
|
|
+ ]
|
|
|
}
|
|
|
-
|
|
|
]
|
|
|
-}
|
|
|
+}
|