forked from nicholaswan/jjb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
67 lines (67 loc) · 1.58 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
{
"manifest_version": 2,
"name": "京价保 - 京东价保助手",
"short_name": "京价保",
"description": "京价保(京价宝)是自动为你申请京东价格保护,自动签到领京豆、钢镚的多功能京东助手",
"version": "{{version}}",
"background": {
"page": "background.html",
"persistent": true
},
"browser_action": {
"default_icon": "static/image/jjb.png",
"default_popup": "popup.html"
},
"content_scripts": [
{
"matches": ["*://*.jd.com/*", "*://*.jd.hk/*"],
"js": [
"static/zepto.min.js",
"static/content_script.js"
],
"css": [
"static/style/content_style.css"
],
"run_at": "document_end",
"all_frames": true
},
{
"run_at": "document_start",
"js": [
"static/mobile_script.js"
],
"matches": [
"*://*.m.jd.com/*",
"*://m.jr.jd.com/*",
"*://wq.jd.com/*",
"*://wqs.jd.com/*",
"*://msitepp-fm.jd.com/*"
],
"all_frames": true
}
],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self';",
"icons": {
"16": "static/image/16.png",
"48": "static/image/48.png",
"128": "static/image/128.png"
},
"web_accessible_resources": [
"static/dialog-polyfill.js",
"static/priceChart.js",
"static/touch-emulator.js"
],
"permissions": [
"*://*.jd.com/*",
"*://*.jd.hk/*",
"webRequest",
"webRequestBlocking",
"alarms",
"tabs",
"notifications"
],
"optional_permissions": [
"*://*.jdpay.com/*",
"bookmarks"
]
}