-
-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathpopup.html
216 lines (191 loc) · 7.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>DINO!</title>
<link rel="stylesheet" href="./css/styles.css" />
</head>
<body class="dark-mode">
<header class="centered">
<img
src="./assets/images/DINO!.png"
height="160px"
width="120px"
alt="DINO LOGO"
/>
<div class="header-options">
<input type="checkbox" class="checkbox" id="checkbox" />
<label for="checkbox" class="label">
<div class="ball"></div>
<span>Background</span>
</label>
<section id="fontChange">
<select class="dropDown">
<option value="none" selected disabled hidden>Select Font For DINO</option>
<option value="Arial">Arial</option>
<option value="Baskerville">Baskerville</option>
<option value="Calibri">Calibri</option>
<option value="Garamond">Garamond</option>
<option value="Trebuchet MS">Trebuchet MS</option>
<option value="Verdana">Verdana</option>
<option value="Georgia">Georgia</option>
<option value="Times New Roman">Times New Roman</option>
<option value="Helvetica">Helvetica</option>
<option value="Monaco">Monaco</option>
<option value="OpenSans">OpenSans</option>
<option value="Tahoma">Tahoma</option>
<option value="Default">Default</option>
</select>
</section>
</div>
</header>
<section id="about">
<p>
<span class="speaker">🔊 </span>Dino is an extension developed to make
the web more accessible to people with dyslexia and color blindness.
Dino allows you to change colors, add and remove images, read out pages
etc.
</p>
</section>
<section id="localStorage">
<h1><span class="speaker">🔊 </span>PREFERENCES</h1>
<div class="preference">
<button id="savePreferenceBtn">Save</button>
<button id="clearPreferenceBtn">Delete</button>
<button id="localStorageToggler">Apply from localStorage</button>
</div>
</section>
<section id="mode">
<h1><span class="speaker">🔊 </span>Mode</h1>
<button value="lightmode" class="modes">Light Mode</button>
<button value="darkmode" class="modes">Dark Mode</button>
</section>
<section id="fonts">
<h1><span class="speaker">🔊 </span>FONT SIZE</h1>
<button class="fontSize">12px</button>
<button class="fontSize">22px</button>
<button class="fontSize">26px</button>
<button class="fontSize">30px</button>
<button class="fontSize">40px</button>
<button class="fontSize">60px</button>
</section>
<section id="font-style">
<h1><span class="speaker">🔊 </span>FONT STYLE</h1>
<button class="fontStyle">Arial</button>
<button class="fontStyle">Baskerville</button>
<button class="fontStyle">Calibri</button>
<button class="fontStyle">Garamond</button>
<button class="fontStyle">Trebuchet MS</button>
<button class="fontStyle">Verdana</button>
<button class="fontStyle">Georgia</button>
<button class="fontStyle">Times New Roman</button>
<button class="fontStyle">Helvetica</button>
<button class="fontStyle">Monaco</button>
<button class="fontStyle">OpenSans</button>
<button class="fontStyle">Tahoma</button>
</section>
<section id="images">
<h1><span class="speaker">🔊 </span>IMAGES</h1>
<div class="images">
<button class="img-remmover">Remove images</button>
<button class="img-add">Add images</button>
<button class="img-read">Read Out Images</button>
</div>
</section>
<section id="listen_to_web_page">
<h1><span class="speaker">🔊 </span>LISTEN TO WEB PAGE</h1>
<button class="text-to-speech">Speak</button>
<button class="stop-speech">Stop</button>
<button class="text-to-speech-selected">SpeakSelected</button>
<div id="rate-control">
<label for="rate">Rate:</label>
<input type="range" min="0.5" max="2" value="1" step="0.1" id="rate" />
</div>
</section>
<section id="paragraphs">
<h1><span class="speaker">🔊 </span>PARAGRAPHS</h1>
<button class="para-highlighter">Highlight Paragraphs Border</button>
<button class="para-highlighter-remove">
Remove Paragraph Border Highlighting
</button>
<button class="para-highlighter-background">
Highlight Paragraphs Background
</button>
<button class="para-highlighter-background-remove">
Remove Paragraph Background Highlighting
</button>
</section>
<section id="links">
<h1><span class="speaker">🔊 </span>LINKS</h1>
<button class="link">Highlight Links</button>
<button class="border">Show Borders</button>
<button class="remove-link-hg">Remove Link Highlights</button>
</section>
<section id="colors">
<h1><span class="speaker">🔊 </span>COLORS</h1>
<form id="backgroundColorChanger">
<input name="color" type="color" />
<button type="submit">Change Background Color</button>
</form>
<button class="revert-background-color">Revert Background Color</button>
<form id="fontColorChanger">
<input name="color" type="color" />
<button type="submit">Change Font Color</button>
<button class="revert-Font-color">Revert Font Color</button>
</form>
</section>
<section id="dictionary">
<h1><span class="speaker">🔊 </span>DICTIONARY</h1>
<button class="select-text">Get Definition</button>
<p class="select-text-definition"></p>
</section>
<section id="translate">
<h1><span class="speaker">🔊 </span>TRANSLATE</h1>
<a href="Translator/index.html">
<button>Click here to translate anything</button>
</a>
</section>
<section style="margin-top:40px;" id="auto-scrolling">
<h1>Auto-Scrolling</h1>
<h2>Press Enter to Start Auto Scrolling and again press Enter to stop.</h2>
<button class="autoscroll" id="slow_btn">Slow Speed</button>
<button class="autoscroll" id="medium_btn">Medium Speed</button>
<button class="autoscroll" id="fast_btn">Fast speed</button>
</section>
<section id="magnifier">
<h1><span class="speaker">🔊 </span>MAGNIFIER</h1>
<div class="magnifier">
<button id="magni-inc">-</button>
<input
type="range"
min="30"
max="250"
value="100"
step="10"
id="magni"
/>
<button id="magni-dec">+</button>
</div>
<div class="magni-cnt">
<div class="show-zoom-value">100%</div>
<button id="resetZoom">reset</button>
</div>
</section>
<section id="remove-emphasis">
<h1><span class="speaker">🔊 </span>REMOVE EMPHASIS</h1>
<button class="remove-italics">Remove Italics</button>
<button class="remove-underscore">Remove Underscore</button>
<button class="reset-italics-and-underscore">Reset</button>
</section>
<section id="case-converter">
<h1><span class="speaker">🔊 </span>CASE CONVERTER</h1>
<div class="convertBtns">
<button id="upper-case-btn">Convert to Uppercase</button>
<button id="lower-case-btn">Convert to Lowercase</button>
</div>
</section>
</body>
<script src="background.js"></script>
</html>