forked from ADSR1042/Lazuli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
76 lines (75 loc) · 1.87 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
68
69
70
71
72
73
74
75
76
{
"manifest_version": 3,
"name": "Enroll_nx",
"version": "1.0.0",
"description": "求是潮基于Lazuli开发的浙大一体化插件",
"author": "QSC",
"icons": {
"48": "enroll-logo.png",
"128": "enroll-logo.png"
},
"content_scripts": [
{
"matches": [
"http://zdbk.zju.edu.cn/jwglxt/*",
"https://zdbk.zju.edu.cn/jwglxt/*",
"https://chalaoshi.de/",
"https://chalaoshi.buzz/*",
"http://chalaoshi-buzz-s.webvpn.zju.edu.cn:8001/*",
"https://chalaoshi.click/*",
"http://chalaoshi-click-s.webvpn.zju.edu.cn:8001/**",
"https://classroom.zju.edu.cn/*",
"https://interactivemeta.cmc.zju.edu.cn/*",
"https://courses.zju.edu.cn/*"
],
"js": [
"lib/js/jquery.min.js",
"js/content-script.js"
],
"css": [
"lib/css/inject.css"
],
"run_at": "document_end"
}
],
"background": {
"service_worker": "js/background.js"
},
"options_page": "html/options.html",
"permissions": [
"notifications",
"storage",
"activeTab",
"scripting"
],
"action": {
"default_icon": "enroll-logo.png",
"default_popup": "html/popup.html"
},
"content_security_policy": {
"extension_pages": "script-src 'self';object-src 'self'"
},
"externally_connectable": {
"matches": [
"*://zdbk.zju.edu.cn/*"
]
},
"web_accessible_resources": [
{
"resources": [
"data/default.json",
"src/plugins/courses/inject.js"
],
"matches": [
"http://zdbk.zju.edu.cn/*",
"https://chalaoshi.buzz/*",
"http://chalaoshi-buzz-s.webvpn.zju.edu.cn:8001/*",
"https://classroom.zju.edu.cn/*",
"https://interactivemeta.cmc.zju.edu.cn/*",
"https://chalaoshi.de/*",
"https://chalaoshi.click/*",
"https://courses.zju.edu.cn/*"
]
}
]
}