-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathoptions.html
40 lines (39 loc) · 1.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Fix Twitter Options</title>
<style>
body { font-size: 0.85rem; }
.form-field { display: flex; align-items: center; }
.form-field input[type="checkbox"] { margin-right: 0.5em; }
.form-field label + input[type="number"] { margin-left: 0.5em; }
.form-field + .form-field { margin-top: 0.7em; }
.form-input { width: 4rem; }
input[disabled],
input[disabled] + label { opacity: 0.3; }
</style>
</head>
<body>
<form id="form">
<div class="form-field">
<input id="tco" type="checkbox"><label for="tco">Replace t.co links with original links</label>
</div>
<div class="form-field">
<input id="replies" type="checkbox"><label for="replies">Always show “replying to” in replies</label>
</div>
<div class="form-field" style="padding-left: 1em">
<input id="old_school" type="checkbox"><label for="old_school">Old school @-mention replies</label>
</div>
<div class="form-field">
<input id="icym" type="checkbox"><label for="icym">Hide “In case you missed it” notifications</label>
</div>
<div class="form-field">
<label for="interval">Polling interval (in milliseconds):</label><input id="interval" type="number" min="1" placeholder="3000" class="form-input" required>
</div>
<br>
<button type="submit" id="submit">Save</button>
</form>
<script src="options.js"></script>
</body>
</html>