forked from jonathanKingston/merge-windows
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpreferences.html
More file actions
64 lines (62 loc) · 2.05 KB
/
preferences.html
File metadata and controls
64 lines (62 loc) · 2.05 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!--
SPDX-FileCopyrightText: 2026 Martijn van der Ven <martijn@vanderven.se>
SPDX-License-Identifier: 0BSD
-->
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Preferences</title>
<style>
@import url("chrome://global/skin/in-content/common-shared.css");
:root /* = html, but higher specificity */ {
background-color: var(--background-color-box);
}
body {
overflow: hidden;
padding-bottom: 3em;
}
fieldset {
border: 0;
margin: 0;
padding: 0;
margin-top: var(--card-padding);
color: var(--text-color);
display: grid;
grid-template-columns: 2em 1fr;
grid-row-gap: .75em;
}
fieldset:not(:last-of-type) {
padding-bottom: var(--card-padding);
border-bottom: 1px solid var(--border-color);
}
legend {
padding-bottom: .75em;
}
</style>
</head>
<body>
<fieldset>
<legend>Choose where the context menu is available:</legend>
<input type="checkbox" name="menu_location" value="all" id="page">
<label for="page">On the web page</label>
<input type="checkbox" name="menu_location" value="tab" id="tab_bar">
<label for="tab_bar">On the tab bar</label>
<input type="checkbox" name="menu_location" value="tools_menu" id="menu">
<label for="menu">In the tools menu</label>
</fieldset>
<fieldset>
<legend>Choose where to merge tabs to:</legend>
<input type="radio" name="merge_insertion" id="end" value="0">
<label for="end">At the end of the current window (default)</label>
<input type="radio" name="merge_insertion" id="focus" value="1">
<label for="focus">After the current active tab</label>
</fieldset>
<fieldset>
<legend>Want the latest and greatest?</legend>
<input type="checkbox" name="experimental" value="true" id="experimental">
<label for="experimental">Enable experimental features</label>
</fieldset>
<script src="preferences.js" type="module"></script>
</body>
</html>