-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanifest.json
42 lines (42 loc) · 1.22 KB
/
manifest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"manifest_version": 2,
"name": "藏宝阁",
"version": "1.0.0.0",
"description": "藏宝阁Tools",
"browser_action": {
"default_icon": {
"19": "images/icon19.png",
"38": "images/icon38.png"
},
"default_title": "藏宝阁工具",
"default_popup": "popup.html"
},
"background": {
"scripts": ["./background.js"]
},
"content_scripts": [
{
"matches": ["https://www.baidu.com/*"],
"js": ["jquery-3.3.1.js", "js/baidu.js"]
},
{
"matches": ["http://xyq.cbg.163.com/*"],
"js": ["jquery-3.3.1.js", "js/base.js", "js/cbg.js", "js/waitfor.js"]
},
{
"matches": ["https://epay.163.com/*"],
"run_at":"document_end",
"js": ["jquery-3.3.1.js", "js/base.js", "js/pay.js"]
}
],
"permissions": [
"webRequest",
"webRequestBlocking",
"background",
"*://*.google.com/",
"*://*.netease.com/",
"*://*.ngrok.io/",
"http://*/*", // 可以通过executeScript或者insertCSS访问的网站
"https://*/*" // 可以通过executeScript或者insertCSS访问的网站
]
}