blob: 8fb6b5fec9826ed5df198e2bc3aa80ab0039d823 (
plain)
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
65
66
67
68
69
70
|
<!DOCTYPE html>
<!-- SPDX-License-Identifier: GPL-2.0-only -->
<html>
<head>
<meta charset="utf-8" />
<style>
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
body {
background-color: black;
box-sizing: border-box;
color: white;
display: flex;
flex-direction: column;
font-family: sans-serif;
gap: 8px;
padding: 8px;
}
textarea {
background-color: inherit;
border: 2px solid gray;
color: inherit;
padding: 8px;
}
textarea:focus {
border: 2px solid white;
outline: none;
}
#enable-reg-exp {
flex: 1;
resize: none;
}
button {
border: 2px solid transparent;
color: inherit;
outline: none;
padding: 4px;
}
button:focus {
border: 2px solid white;
outline: none;
}
button.inviting {
background-color: green;
}
</style>
</head>
<body>
<label for="enable-reg-exp">
Regular expression matching domain names of sites on which to enable
substitution. Whitespace is ignored.
</label>
<textarea id="enable-reg-exp"></textarea>
<button id="enable-reg-exp-save" class="inviting">Save</button>
<script src="lib/extension.js"></script>
<script src="options.js"></script>
</body>
</html>
|