-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
63 lines (63 loc) · 1.39 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
{
"manifest_version": 3,
"name": "__MSG_ExtName__",
"author": "lifegpc",
"description": "__MSG_Desc__",
"version": "1.0.0",
"default_locale": "en",
"icons": {
"16": "ico/16.png",
"48": "ico/48.png",
"128": "ico/128.png"
},
"action": {
"default_icon": {
"19": "ico/19.png",
"38": "ico/38.png"
},
"default_title": "__MSG_ExtName__",
"default_popup": "popup.html"
},
"host_permissions": [
"https://*.qidian.com/",
"http://*.qidian.com/"
],
"content_scripts": [
{
"matches": [
"https://*.qidian.com/chapter/*",
"http://*.qidian.com/chapter/*"
],
"js": [
"js/qdchapter.js"
],
"run_at": "document_start"
},
{
"matches": [
"http://*.qidian.com/info/*",
"https://*.qidian.com/info/*"
],
"js": [
"js/qdbook.js"
]
}
],
"permissions": [
"contextMenus",
"storage",
"tabs"
],
"sandbox": {
"pages": [
"sandbox.html"
]
},
"options_ui": {
"open_in_tab": true,
"page": "options.html"
},
"background": {
"service_worker": "js/background.js"
}
}