-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoptions.html
78 lines (75 loc) · 1.65 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>YouCaptain Shortcuts</title>
<script src="options.js"></script>
</head>
<style>
body {
font-size: 1.4em;
padding: 0 30px;
}
code {
font-size: 1.5em;
}
.feedback {
background-color: #a0dda0;
padding: 12px;
border-radius: 4px;
display: none;
}
.visible {
display: block;
}
</style>
<body>
<h1>YouCaptain</h1>
<form id="optionsForm">
<p class="feedback"></p>
<p>
<input id="enterFullscreen" type="checkbox">
<label for="enterFullscreen">Enter fullscreen when playing a video</label>
</p>
<p>
<input id="playAudioOnFocus" type="checkbox">
<label for="playAudioOnFocus">Play audio on focus</label>
</p>
<input type="submit" value="Save">
</form>
<h2>Shortcuts</h2>
<p>
<code>backspace</code>: go to previous page (history back)
</p>
<p>
<code>enter</code>: left click
</p>
<p>
<code>o</code>: add video to the queue
</p>
<p>
<code>h</code>: like/dislike video
</p>
<p>
<code>s</code>: focus on search field
</p>
<p>
<code>u</code>: focus on video player if a video is being played, otherwise, focus on first video of the list
</p>
<p>
<code>y</code>: go to home page (/)
</p>
<p>
<code>w</code>: go to the watch later playlist (/playlist?list=WL)
</p>
<p>
<code>F1</code>: zoom out
</p>
<p>
<code>F2</code>: zoom in
</p>
<br>
<h2>Contribute</h2>
<p>This extension is open source, feel free to contribute on <a href="https://github.com/glaucocustodio/youcaptain">https://github.com/glaucocustodio/youcaptain</a></p>
</body>
</html>