Repository navigation
Expand file tree
/
Copy pathoptions.html
More file actions
43 lines (43 loc) · 2.26 KB
/
Copy pathoptions.html
File metadata and controls
43 lines (43 loc) · 2.26 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Tab Count settings</title>
<link rel="stylesheet" href="styles.css">
<script src="js/settings.js" defer></script>
<script src="js/options.js" defer></script>
</head>
<body class="options">
<main>
<h1>Tab Count settings</h1>
<fieldset>
<legend>Popup tab list</legend>
<label><input type="radio" name="popupDisplayOption" value="currentWindow"> Current window</label>
<label><input type="radio" name="popupDisplayOption" value="allWindows"> All windows</label>
</fieldset>
<fieldset>
<legend>Toolbar badge count</legend>
<label><input type="radio" name="badgeDisplayOption" value="allWindows"> All windows</label>
<label><input type="radio" name="badgeDisplayOption" value="currentWindow"> Current window</label>
</fieldset>
<fieldset>
<legend>Optional tab management</legend>
<label><input type="checkbox" id="tabDedupe"> Notify me when I open a duplicate page</label>
<p class="help">Click the notification to switch to the existing tab and close the duplicate. Dismissing it keeps both tabs.</p>
<label><input type="checkbox" id="tabJanitor" aria-describedby="janitorHelp"> Automatically close unused tabs</label>
<label class="days">Close after <input type="number" id="tabJanitorDays" value="5" min="1" max="30" step="1" required> days without being selected</label>
<p class="help" id="janitorHelp">Checks hourly. Active, pinned, playing, loading, incognito, and browser-internal tabs are kept. Unsaved work in other tabs could be lost. Closed tabs can usually be reopened from Chrome's History menu.</p>
</fieldset>
<p id="status" role="status"></p>
<section aria-labelledby="statsHeading">
<h2 id="statsHeading">Current counts</h2>
<p><span id="windowsCount">—</span> windows · <span id="tabsCount">—</span> tabs</p>
<button type="button" id="refreshButton">Refresh counts</button>
</section>
<footer>
<p>Your tab information stays in your browser. <a href="privacy.html">Privacy policy</a></p>
</footer>
</main>
</body>
</html>