-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathmanifest.json
40 lines (40 loc) · 953 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
36
37
38
39
40
{
"manifest_version": 2,
"name": "__MSG_extName__",
"default_locale": "zh_CN",
"description": "__MSG_extDesp__",
"version": "1.1.4",
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"background": {
"scripts": ["res/background.js"]
},
"page_action": {
"default_icon": {
"19": "res/pt_256.png",
"38": "res/pt_256.png"
},
"default_title": "__MSG_extName__",
"default_popup": "res/popup.html"
},
"content_scripts": [{
"all_frames": false,
"js": [ "res/content.js" ],
"matches": [ "http://*/*", "https://*/*" ],
"run_at": "document_start"
}, {
"all_frames": false,
"js": [ "res/baidu_search_content.js" ],
"matches": [
"https://www.baidu.com/*",
"http://www.baidu.com/*"
],
"run_at": "document_end"
}],
"icons": {
"128": "res/pt_256.png",
"64": "res/pt_256.png",
"32": "res/pt_256.png",
"16": "res/pt_256.png"
},
"permissions" : ["tabs"]
}