-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
48 lines (44 loc) · 1.54 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
<html>
<head>
<title>Options for Hipster Tweets</title>
<script type="text/javascript" src="jquery.js" ></script>
<script type="text/javascript">
$(function() {
$("input:checkbox").each(function(checkbox) {
$(this).attr("checked", localStorage[$(this).attr("id")] == "true");
});
$("input:checkbox").change(function() {
localStorage[$(this).attr("id")] = $(this).is(":checked");
});
});
</script>
<style type="text/css">
body {
width: 800px;
margin: auto;
font-family: "Helvetica Neue", "Arial", "Helvetica", sans-serif;
color: #333;
margin-top: 50px;
}
</style>
</head>
<body>
<h1>Options for Hipster Twitter</h1>
<p>
<input type="checkbox" id="new-tweets-scroll" />
Scroll down when "New Tweets"-button is clicked.
</p>
<p>
<input type="checkbox" id="switch-names" />
Make <em>@screenname</em> more prominent than <em>Full Name</em>.
</p>
<p>
<input type="checkbox" id="unshorten-urls" />
Show long URLs where they have been shortened.
</p>
<p>
<input type="checkbox" id="show-ragefaces-inline" />
Show <a href="http://ragefac.es">Ragefaces</a> as images inline.
</p>
</body>
</html>