-
Notifications
You must be signed in to change notification settings - Fork 3
/
popup.html
173 lines (152 loc) · 3.64 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
<!DOCTYPE html>
<html>
<head>
<style>
body {
width: 300px;
padding: 15px;
font-family: arial;
font-size: 100%;
}
h1 {
font-family: "arial black", sans-serif;
font-size: 16px;
color: #333;
margin: 0;
}
h3 {
font-size: 13px;
color: #333;
margin-top: 0;
}
h3 span {
color: #1abc9c;
}
a,
a:visited,
a:focus,
a:hover {
color: #1abc9c;
text-decoration: none;
font-weight: bold;
}
a:hover {
opacity: 0.8;
}
.talkio-link {
color: #7e64ed !important;
}
p,
li {
font-size: 13px;
line-height: 1.6;
}
li strong {
color: #9a8e81;
}
ul {
padding-left: 10px;
margin: 0;
}
li {
margin-top: 5px;
}
section {
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid #eee;
}
.slidecontainer {
width: 100%;
}
.slider {
-webkit-appearance: none;
width: 100%;
height: 15px;
border-radius: 5px;
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: 0.2s;
transition: opacity 0.2s;
}
.slider:hover {
opacity: 1;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
border-radius: 50%;
background: #1abc9c;
cursor: pointer;
}
.invisible {
display: none;
}
</style>
</head>
<body>
<div class="popup-container">
<h1>Voice Control for ChatmindAI</h1>
<section id="not-on-app">
<p style="margin: 0">
Please go to
<a href="https://x.chatmindai.net/chat" target="_blank"> ChatmindAI </a>
to use this extension.
</p>
</section>
<div id="on-app" class="invisible">
<section>
<p style="margin-top: 0">
<em>
Looking for Read Aloud Speed? It's been moved to the settings menu
next to the mute button.
</em>
</p>
</section>
<section>
<h3>Keyboard shortcuts</h3>
<ul>
<li>
Press-and-hold <strong>SPACE</strong> (outside text input) to
record, and release to submit
</li>
<li>
Press <strong>ESC</strong> or <strong>Q</strong> to cancel a
transcription
</li>
<li>
Press <strong>E</strong> to stop and copy the transcription to the
ChatGPT input field without submitting
</li>
</ul>
</section>
<section>
<h3>Need help?</h3>
<p>
Please fill out
<a href="https://forms.gle/BA3AU9LdApsZDBW28" target="_blank">
this form
</a>
or
<a href="mailto:[email protected]" target="_blank">write an email</a>
</p>
</section>
<section>
<p style="margin: 0">
<em>
Upgrade your language learning experience with
<a href="https://talkio.ai/" target="_blank" class="talkio-link">
Talkio AI</a
>, the premium version of this extension designed specifically for
language learners.
</em>
</p>
</section>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>