-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
59 lines (54 loc) · 1.88 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
<!doctype html>
<!--
This page is shown when the extension button is clicked, because the
"browser_action" field in manifest.json contains the "default_popup" key with
value "popup.html".
-->
<html>
<head>
<title>Getting Started Extension's Popup</title>
<style>
body {
font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif;
font-size: 100%;
width: 600px;
height 300px;
}
#status {
/* avoid an excessively wide status text */
white-space: pre;
text-overflow: ellipsis;
overflow: hidden;
}
</style>
<link rel="stylesheet" type="text/css" href="switch.css">
</head>
<body>
<label for="escapeBlockingSwitch">Block Escapes?</label>
<div class="onoffswitch">
<input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="escapeBlockingSwitch" checked>
<label class="onoffswitch-label" for="escapeBlockingSwitch">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
<div id="status">
<b>Global Counts</b>
Total: <span id="total"></span>
WBM Meta: <span id="waybackMachineMetaRequest"></span>
Archive: <span id="archiveRequest"></span>
Escape: <span id="archiveEscape"></span>
Not-On-Archive: <span id="notOnArchive"></span>
Unclassified: <span id="unclassifiedRequest"></span>
<b>Visit Counts</b>
Location: <span id="currentLocation"></span>
Total: <span id="visitTotal"></span>
WBM Meta: <span id="visitWaybackMachineMetaRequest"></span>
Archive: <span id="visitArchiveRequest"></span>
Escape: <span id="visitArchiveEscape"></span>
Not-On-Archive: <span id="visitNotOnArchive"></span>
Unclassified: <span id="visitUnclassifiedRequest"></span>
</div>
<script src="popup.js"></script>
</body>
</html>