-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
options.html
380 lines (379 loc) · 13.1 KB
/
options.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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Control Panel for YouTube</title>
<link rel="stylesheet" href="options.css">
</head>
<body>
<form>
<section class="group">
<label class="checkbox">
<span style="display: flex; align-items: center; gap: .5em;">
<img src="options-icon.png" class="icon">
<span id="enabled">Enabled</span>
</span>
<input type="checkbox" name="enabled">
<span class="toggle"></span>
</label>
</section>
<section class="group labelled">
<label id="videoLists">
Video lists
</label>
<section class="checkbox">
<label>
<span id="hideShorts">Hide Shorts</span>
<input type="checkbox" name="hideShorts">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideSponsored">Hide Sponsored videos & Promos</span>
<input type="checkbox" name="hideSponsored">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideSuggestedSections">Hide suggested sections</span>
<input type="checkbox" name="hideSuggestedSections">
<span class="toggle"></span>
</label>
</section>
<section class="select desktop">
<label>
<span id="searchThumbnailSize">Search thumbnail size</span>
<select name="searchThumbnailSize">
<option value="large">Large</option>
<option value="medium">Medium</option>
<option value="small">Small</option>
</select>
</label>
</section>
<section class="select desktop">
<label>
<span id="minimumGridItemsPerRow">Minimum grid items per row</span>
<select name="minimumGridItemsPerRow">
<option value="auto">Auto</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>
</label>
<p id="minimumGridItemsPerRowNote">In Home and Subscriptions</p>
</section>
<section class="checkbox">
<label>
<span id="hideMixes">Hide Mixes</span>
<input type="checkbox" name="hideMixes">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideUpcoming">Hide Upcoming videos</span>
<input type="checkbox" name="hideUpcoming">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideLive">Hide Live videos</span>
<input type="checkbox" name="hideLive">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideStreamed">Hide Streamed videos</span>
<input type="checkbox" name="hideStreamed">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideWatched">Hide Watched videos</span>
<input type="checkbox" name="hideWatched">
<span class="toggle"></span>
</label>
<section class="select hidingWatched">
<label>
<span id="hideWatchedThreshold">Watched %</span>
<select name="hideWatchedThreshold">
<option value="0" id="anyPercent">any %</option>
<option value="25">25</option>
<option value="50">50</option>
<option value="75">75</option>
<option value="80">80</option>
<option value="85">85</option>
<option value="90">90</option>
<option value="95">95</option>
<option value="100">100</option>
</select>
</label>
</section>
</section>
<section class="checkbox">
<label>
<span id="hideHiddenVideos">Hide hidden videos</span>
<input type="checkbox" name="hideHiddenVideos">
<span class="toggle"></span>
</label>
<p id="hideHiddenVideosNote">Hides the "Undo" button after 5 seconds</p>
</section>
<section class="checkbox">
<label>
<span id="hideChannels">Hide channels</span>
<input type="checkbox" name="hideChannels">
<span class="toggle"></span>
</label>
<p id="hideChannelsNote">Adds "Hide channel" to video menus</p>
<details id="hiddenChannelsDetails">
<summary id="hiddenChannelsSummary">Hidden channels</summary>
<div id="hiddenChannels"></div>
</details>
</section>
<section class="checkbox mobile">
<label>
<span id="mobileGridView">Use grid view for Subcriptions & Search (portrait only)</span>
<input type="checkbox" name="mobileGridView">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="disableHomeFeed">Disable Home feed</span>
<input type="checkbox" name="disableHomeFeed">
<span class="toggle"></span>
</label>
<p id="disableHomeFeedNote">Only when logged in - redirects to Subscriptions</p>
</section>
</section>
<section class="group labelled">
<label id="videoPages">
Video pages
</label>
<section class="checkbox">
<label>
<span id="skipAds">Skip ads</span>
<input type="checkbox" name="skipAds">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="disableAutoplay">Disable Autoplay</span>
<input type="checkbox" name="disableAutoplay">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox desktop">
<label>
<span id="fullSizeTheaterMode">Full size theater mode</span>
<input type="checkbox" name="fullSizeTheaterMode">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideRelated">Hide Related videos</span>
<input type="checkbox" name="hideRelated">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox desktop">
<label>
<span id="hideEndCards">Hide video end cards</span>
<input type="checkbox" name="hideEndCards">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox desktop">
<label>
<span id="hideEndVideos">Hide video endscreen content</span>
<input type="checkbox" name="hideEndVideos">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideNextButton">Hide the Next button</span>
<input type="checkbox" name="hideNextButton">
<span class="toggle"></span>
</label>
<p class="desktop" id="hideNextButtonNote">
When not watching a video in a playlist
</p>
</section>
<section class="checkbox desktop">
<label>
<span id="hideMiniplayerButton">Hide Miniplayer button</span>
<input type="checkbox" name="hideMiniplayerButton">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox desktop">
<label>
<span id="hideMerchEtc">Hide Merch, Offers etc.</span>
<input type="checkbox" name="hideMerchEtc">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideShareThanksClip">Hide Share/Thanks/Clip buttons</span>
<input type="checkbox" name="hideShareThanksClip">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideMetadata">Hide video metadata</span>
<input type="checkbox" name="hideMetadata">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideComments">Hide Comments</span>
<input type="checkbox" name="hideComments">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox desktop">
<label>
<span id="hideChat">Hide Chat</span>
<input type="checkbox" name="hideChat">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox desktop">
<label>
<span id="downloadTranscript">Make Transcript downloadable</span>
<input type="checkbox" name="downloadTranscript">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="redirectShorts">Redirect Shorts to the normal player</span>
<input type="checkbox" name="redirectShorts">
<span class="toggle"></span>
</label>
</section>
</section>
<section class="group labelled">
<label id="uiTweaks">
UI tweaks
</label>
<section class="checkbox desktop">
<label>
<span id="tidyGuideSidebar">Tidy Guide sidebar</span>
<input type="checkbox" name="tidyGuideSidebar">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox mobile">
<label>
<span id="hideExploreButton">Hide Explore button in Home</span>
<input type="checkbox" name="hideExploreButton">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideHomeCategories">Hide categories in Home</span>
<input type="checkbox" name="hideHomeCategories">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox mobile">
<label>
<span id="hideSubscriptionsChannelList">Hide channel list in Subscriptions</span>
<input type="checkbox" name="hideSubscriptionsChannelList">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox desktop">
<label>
<span id="hideSubscriptionsLatestBar">Hide "Latest" bar in Subscriptions</span>
<input type="checkbox" name="hideSubscriptionsLatestBar">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox mobile">
<label>
<span id="hideOpenApp">Hide Open App links</span>
<input type="checkbox" name="hideOpenApp">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideVoiceSearch">Hide Search with your voice</span>
<input type="checkbox" name="hideVoiceSearch">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="removePink">Remove pink from progress bar</span>
<input type="checkbox" name="removePink">
<span class="toggle"></span>
</label>
</section>
</section>
<section class="group labelled">
<label id="embeddedVideos">
Embedded videos
</label>
<section class="checkbox">
<label>
<span id="hideEmbedShareButton">Hide Share button</span>
<input type="checkbox" name="hideEmbedShareButton">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideEmbedPauseOverlay">Hide pause overlay</span>
<input type="checkbox" name="hideEmbedPauseOverlay">
<span class="toggle"></span>
</label>
</section>
<section class="checkbox">
<label>
<span id="hideEmbedEndVideos">Hide video endscreen content</span>
<input type="checkbox" name="hideEmbedEndVideos">
<span class="toggle"></span>
</label>
</section>
</section>
<section class="group labelled debug">
<label id="debugOptions">Debug options</label>
<section class="checkbox">
<label>
<span id="debug">Debug mode</span>
<input type="checkbox" name="debug">
<span class="toggle"></span>
</label>
<p id="debugNote">Enables debug logging</p>
</section>
<section class="checkbox">
<label>
<span id="debugManualHiding">Debug manual hiding</span>
<input type="checkbox" name="debugManualHiding">
<span class="toggle"></span>
</label>
<p id="debugManualHidingNote">Highlights elements instead of hiding them</p>
</section>
</section>
<div id="version">v1.3.0<span id="debugCountdown"></span></div>
</form>
<script src="options.js"></script>
</body>
</html>