-
Notifications
You must be signed in to change notification settings - Fork 12
/
manifest.json
75 lines (74 loc) · 1.54 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"manifest_version": 2,
"author": "yimian",
"name": "一面数据:生意参谋插件",
"version": "1.0.0",
"description": "一面数据",
"icons": {
"16": "icons/icon-16.png",
"19": "icons/icon-19.png",
"38": "icons/icon-38.png",
"64": "icons/icon-64.png",
"128": "icons/icon-128.png"
},
"browser_action": {
"default_icon": "images/48.png",
"default_popup": "popup.html",
"default_title": "一面数据-生意参谋插件"
},
"background": {
"page": "background.html"
},
"content_scripts": [
{
"js": [
"scripts/fetchHook.js"
],
"matches": [
"http://sycm.taobao.com/*",
"https://sycm.taobao.com/*"
],
"run_at": "document_start"
},
{
"js": [
"scripts/xhrHook.js"
],
"matches": [
"https://sz.jd.com/*"
],
"run_at": "document_start"
},
{
"js": [
"scripts/contentscript.js"
],
"matches": [
"http://sycm.taobao.com/*",
"https://sycm.taobao.com/*",
"https://sz.jd.com/*"
],
"run_at": "document_end"
}
],
"content_security_policy": "script-src 'self'; object-src 'self'",
"web_accessible_resources": [
"images/*",
"styles/*",
"scripts/*",
"icons/*",
"fonts/*"
],
"homepage_url": "https://www.yimian.com.cn/",
"permissions": [
"*://*.taobao.com/*",
"tabs",
"activeTab",
"storage",
"cookies",
"webRequest",
"contextMenus",
"notifications",
"webRequestBlocking"
]
}