-
Notifications
You must be signed in to change notification settings - Fork 2
/
manifest.json
146 lines (146 loc) · 3.56 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"manifest_version": 2,
"name": "Postime",
"version": "3.0",
"description": "西南交通大学教务系统一键评课插件&登录验证码识别",
"permissions": [
"contextMenus",
"http://wangzhe.cloud/*",
"https://www.google-analytics.com/",
"storage"
],
"icons": {
"16": "images/icon16.png",
"48": "images/icon48.png",
"128": "images/icon128.png"
},
"background": {
"scripts": [
"js/contextMenus.js"
]
},
"browser_action": {
"default_icon": {
"19": "images/icon19.png",
"38": "images/icon38.png"
},
"default_title": "HackSwjtuDeanPK",
"default_popup": "popup.html"
},
"content_scripts": [
{
"matches": [
"*://jiaowu.swjtu.edu.cn/servlet/AssessAction?SetAction=viewAssess&sid=*&templateFlag=0"
],
"js": [
"js/jquery.js",
"js/courses_pk/data_pk.js",
"js/courses_pk/courses_pk.js"
],
"run_at": "document_end"
},
{
"matches": [
"*://jiaowu.swjtu.edu.cn/servlet/AssessAction?SetAction=viewAssess&sid=*&templateFlag=1&type=1"
],
"js": [
"js/jquery.js",
"js/tutor_pk/data_pk.js",
"js/tutor_pk/tutor_pk.js"
],
"run_at": "document_end"
},
{
"matches": [
"*://jiaowu.swjtu.edu.cn/servlet/AssessAction?SetAction=viewAssess&sid=*&templateFlag=1&type=2"
],
"js": [
"js/jquery.js",
"js/practice_pk/data_pk.js",
"js/practice_pk/practice_pk.js"
],
"run_at": "document_end"
},
{
"matches": [
"*://jiaowu.swjtu.edu.cn/servlet/AppraiseStudentAction?Action=submitInfo&Forward=Term"
],
"js": [
"js/jquery.js",
"js/semester_pk/semester_pk.js"
],
"run_at": "document_end"
},
{
//student login
"matches": [
"*://jiaowu.swjtu.edu.cn/service/login.jsp*",
"*://jiaowu.swjtu.edu.cn//service/login.jsp*",
"*://202.115.67.50/service/login.jsp*",
"*://202.115.71.132/service/login.jsp*"
],
"js": [
"js/lib/misc.js",
"js/lib/ga.js",
"js/verif_code/student.js"
]
},
{
//student login which must get RandomImg first
"matches": [
"*://202.115.67.4/service/login.jsp*"
],
"js": [
"js/lib/misc.js",
"js/lib/ga.js",
"js/verif_code/genearch.js"
]
},
{
//student login result
"matches": [
"*://jiaowu.swjtu.edu.cn/servlet/UserLoginSQLAction",
"*://jiaowu.swjtu.edu.cn//servlet/UserLoginSQLAction",
"*://202.115.67.50/servlet/UserLoginSQLAction",
"*://202.115.71.132/service/UserLoginSQLAction",
"*://202.115.67.4/servlet/UserLoginSQLAction"
],
"js": [
"js/lib/misc.js",
"js/lib/ga.js",
"js/verif_code/bounce.js",
"js/verif_code/advertise.js",
"js/verif_code/studentclicked.js"
]
},
{
//genearch login
"matches": [
"*://dean.swjtu.edu.cn/service/login.jsp*"
],
"js": [
"js/lib/misc.js",
"js/lib/ga.js",
"js/verif_code/genearch.js"
]
},
{
//network sevice
"all_frames": true,
"matches": [
"*://service.swjtu.edu.cn:*/selfservice*"
],
"js": [
"js/lib/misc.js",
"js/lib/ga.js",
"js/verif_code/network.js"
]
}
],
"web_accessible_resources": [
"data/*.*",
"images/*.png",
"js/verif_code/inject/autoGetphoto.js"
],
"homepage_url": "https://github.com/HackSwjtu/Postime"
}