-
Notifications
You must be signed in to change notification settings - Fork 436
/
manifest.json
35 lines (34 loc) · 947 Bytes
/
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
{
"manifest_version": 2,
"name": "京价保",
"description": "自动为你申请京东价格保护",
"version": "1.10.0",
"background": {
"page": "background.html",
"persistent": true
},
"browser_action": {
"default_icon": "static/image/jjb.png",
"default_popup": "popup.html"
},
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"content_scripts": [
{
"matches": ["*://*.jd.com/*", "*://*.jd.hk/*", "*://*.jdpay.com/*"],
"js": [
"static/zepto.min.js",
"static/content_script.js"
],
"css": [
"static/style/style.css"
],
"all_frames": true
}
],
"icons": {
"16": "static/image/16.png",
"48": "static/image/48.png",
"128": "static/image/128.png"
},
"permissions": ["*://*.jd.com/*", "*://*.jd.hk/*", "*://*.jdpay.com/*", "webRequest", "webRequestBlocking", "alarms", "tabs", "notifications"]
}