-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpopup.html
224 lines (190 loc) · 7.28 KB
/
popup.html
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<!DOCTYPE html>
<html lang="en" class="--eduscope-mod-html">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="background.css" />
</head>
<body class="--eduscope-mod-body">
<h1>SLIIT Eduscope Mods</h1>
<h5 id="eduscope-mod-error"></h5>
<div class="--eduscope-mod-options-container">
<!-- Playback Speed -->
<div id="speed-container">
<div style="display: flex; align-items: center; gap: 5px">
Playback Speed
<div id="blinker" class="--eduscope-mod-blinking"></div>
</div>
<div id="speedValue" class="--eduscope-mod-speed-value">1.00x</div>
<div class="--eduscope-mod-radio-toolbar">
<input
type="range"
min="0"
max="10"
step="0.01"
value="1"
class="--eduscope-mod-slider"
id="speedSlider"
/>
<div class="--eduscope-mod-speed-container">
<input type="radio" id="0.5xSpeed" name="speed" value="0.5" />
<label for="0.5xSpeed">0.5</label>
<input type="radio" id="1xSpeed" name="speed" value="1" />
<label for="1xSpeed">1</label>
<input type="radio" id="1.25xSpeed" name="speed" value="1.25" />
<label for="1.25xSpeed">1.25</label>
<input type="radio" id="1.5xSpeed" name="speed" value="1.5" />
<label for="1.5xSpeed">1.5</label>
<input type="radio" id="1.75xSpeed" name="speed" value="1.75" />
<label for="1.75xSpeed">1.75</label>
<input type="radio" id="2xSpeed" name="speed" value="2" />
<label for="2xSpeed">2</label>
<input type="radio" id="2.5xSpeed" name="speed" value="2.5" />
<label for="2.5xSpeed">2.5</label>
<input type="radio" id="3xSpeed" name="speed" value="3" />
<label for="3xSpeed">3</label>
</div>
</div>
<div
class="--eduscope-mod-option-subtitle"
id="eduscope-mod-option-subtitle"
></div>
</div>
<br />
<!-- Row 1-->
<div class="--eduscope-mod-option-row">
<!-- UI Tweaks -->
<div style="width: 50%">
<span> UI Tweaks </span>
<div>
<div class="--eduscope-mod-radio-toolbar">
<input type="radio" id="tweaks-0" name="tweaks" value="0" />
<label for="tweaks-0">OFF</label>
<input type="radio" id="tweaks-1" name="tweaks" value="1" />
<label for="tweaks-1">ON</label>
</div>
<div
class="--eduscope-mod-option-subtitle"
id="eduscope-mod-option-tweaks-subtitle"
></div>
</div>
</div>
<!-- Dark Mode -->
<div style="width: 50%">
<span> Dark Mode </span>
<div class="--eduscope-mod-radio-toolbar">
<input type="radio" id="dark-0" name="dark" value="0" />
<label for="dark-0">OFF</label>
<input type="radio" id="dark-1" name="dark" value="1" />
<label for="dark-1">ON</label>
</div>
</div>
</div>
<!-- Row 2 -->
<div class="--eduscope-mod-option-row" style="margin-top: 10px">
<!-- Theater mode -->
<div style="width: 50%">
<span> Theater Mode</span>
<div class="--eduscope-mod-radio-toolbar">
<input type="radio" id="theater-0" name="theater" value="0" />
<label for="theater-0">OFF</label>
<input type="radio" id="theater-1" name="theater" value="1" />
<label for="theater-1">ON</label>
</div>
<div
class="--eduscope-mod-option-subtitle"
id="eduscope-mod-option-theater-subtitle"
></div>
</div>
<!-- Spacebar Scroll Disable -->
<div style="width: 50%">
<span> Disable Spacebar Scroll</span>
<div class="--eduscope-mod-radio-toolbar">
<input type="radio" id="scroll-0" name="scroll" value="0" />
<label for="scroll-0">OFF</label>
<input type="radio" id="scroll-1" name="scroll" value="1" />
<label for="scroll-1">ON</label>
</div>
<div
class="--eduscope-mod-option-subtitle"
id="eduscope-mod-option-scroll-subtitle"
></div>
</div>
</div>
</div>
<!-- Row 3-->
<div class="--eduscope-mod-option-row" style="margin-top: 15px">
<!-- Analytics -->
<div style="width: 60%">
<span> Attention Lock </span>
<div
class="--eduscope-mod-radio-toolbar --eduscope-mod-radio-toolbar-attention-lock"
>
<input type="radio" id="attention-0" name="attention" value="0" />
<label for="attention-0">OFF</label>
<input type="radio" id="attention-1" name="attention" value="1" />
<label for="attention-1">1</label>
<input type="radio" id="attention-2" name="attention" value="2" />
<label for="attention-2">2</label>
<input type="radio" id="attention-3" name="attention" value="3" />
<label for="attention-3">3</label>
</div>
<!-- Analytics DISABLED -->
<!-- <div style="width: 50%">
<span> Analytics </span>
<div class="--eduscope-mod-radio-toolbar">
<input type="radio" id="analytics-0" name="analytics" value="0" />
<label for="analytics-0">OFF</label>
<input type="radio" id="analytics-1" name="analytics" value="1" />
<label for="analytics-1">ON</label>
</div>
</div> -->
<!-- View Analytics -->
<!-- <div style="width: 50%; opacity: 0.4; ">
<span> Analytics (coming soon) </span>
<button title="Coming Soon!" disabled id="edugraph" class="--eduscope-button" style="margin-top: 10px;pointer-events: none;">View Analytics</button>
</div> -->
</div>
</div>
<br />
<!-- Row 4 -->
<div class="--eduscope-mod-option-row" style="margin-top: 10px">
<div style="width: 50%">
<button id="pip" class="--eduscope-button">Floating Window</button>
</div>
<!-- <div style="width: 50%">
<button id="download" class="--eduscope-button">Download Video</button>
</div> -->
</div>
<div style="margin-top: 20px">
Version 3.4.4<br />
<a
class="--eduscope-mod-link"
href="https://github.com/notnavindu/SLIIT-Eduscope-Mod"
target="_blank"
>
GitHub
</a>
<a
class="--eduscope-mod-link"
href="https://github.com/notnavindu/SLIIT-Eduscope-Mod/issues"
target="_blank"
>
Report Bugs
</a>
<a
class="--eduscope-mod-link"
href="https://github.com/notnavindu/SLIIT-Eduscope-Mod/issues"
target="_blank"
>
Request Mods
</a>
<br />
</div>
<br />
<script src="background.js"></script>
</body>
</html>