forked from developerish/tab-count
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoptions.html
40 lines (35 loc) · 1.22 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>
<head>
<title>TabCount Options</title>
<style>
body: { padding: 10px; }
</style>
</head>
<body>
<h3>Popup window</h3>
<form name="popupOptionsForm">
<label>
<input type="radio" id ="defaultPopupSelection" name="tabCountRadios" value="currentWindow"> List tabs from the current window only
</label><br>
<label>
<input type="radio" name="tabCountRadios" value="allWindows"> List tabs from all windows
</label><br>
</form>
<br>
<label>
<input type="checkbox" id="tabDedupe" name="tabDedupe" value="dedupe"> Detect and prompt duplicate tab creation
</label><br>
<label>
<input type="checkbox" id="tabJanitor" name="tabJanitor" value="tabJanitor"/> Auto-close tabs unused for more than
<input type="number" id="tabJanitorDays" name="tabJanitorDays" value="5" min="1" max="30"/> days
</label>
<div id="status"></div>
<!-- <hr> -->
<h3>Current Stats</h3>
Total number of windows: <span id="windowsCount"></span><br>
Total number of tabs: <span id="tabsCount"></span><br>
<input type="button" id="refreshButton" value="Refresh Stats">
</body>
<script src="js/options.js"></script>
</html>