-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanifest.json
67 lines (67 loc) · 1.75 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
{
"author": "xu22web",
"name": "tech-study-plugin",
"description": "A browser plugin helps you study joyfully on xuexi.com.",
"version": "0.0.3",
"manifest_version": 3,
"background": {
"service_worker": "./dist/background/index.js"
},
"permissions": [
"storage",
"activeTab",
"scripting",
"notifications",
"cookies",
"debugger",
"contextMenus"
],
"host_permissions": [
"https://www.xuexi.cn/"
],
"action": {
"default_title": "任务面板",
"default_icon": {
"16": "./dist/assets/icon16.png",
"32": "./dist/assets/icon32.png",
"48": "./dist/assets/icon48.png",
"128": "./dist/assets/icon128.png"
}
},
"icons": {
"16": "./dist/assets/icon16.png",
"32": "./dist/assets/icon32.png",
"48": "./dist/assets/icon48.png",
"128": "./dist/assets/icon128.png"
},
"content_scripts": [
{
"js": [
"./dist/inject/home/index.js"
],
"matches": [
"https://www.xuexi.cn/",
"https://www.xuexi.cn/index.html"
],
"run_at": "document_start"
},
{
"js": [
"./dist/inject/readAndWatch/index.js"
],
"matches": [
"https://www.xuexi.cn/lgpage/detail/index.html?id=*"
],
"run_at": "document_start"
},
{
"js": [
"./dist/inject/exam/index.js"
],
"matches": [
"https://pc.xuexi.cn/points/exam-practice.html"
],
"run_at": "document_start"
}
]
}