/
options.html
89 lines (77 loc) · 1.63 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
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!doctype html>
<head>
<meta charset="utf-8">
<title>Demo</title>
<style>
/* These 2 are for local testing only, do not use, they're normally added by browser_style */
@import 'chrome://browser/content/extension.css';
@import 'chrome://browser/content/extension-mac.css';
</style>
<link rel="stylesheet" href="webext-base.css">
</head>
<h1>Heading</h1>
<p>
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Enim ullam
asperiores eum quo? Debitis esse quasi consequuntur voluptates! Ex
exercitationem optio voluptatibus at nisi labore praesentium dignissimos porro
soluta asperiores!
</p>
<h2>Heading 2</h2>
<p>
<label>
<strong>Your favorite digit:</strong><br>
<input
name="my-input-text"
type="text"
spellcheck="false"
autocomplete="off"
placeholder="input[type=text]"
required
pattern="\d"
/>
</label>
</p>
<h3>Heading 3</h3>
<p>
<label>
<strong>Write a poem:</strong> (optional)<br>
<textarea
name="my-textarea"
rows="2"
spellcheck="false"
placeholder="textarea"
></textarea>
</label>
</p>
<h4>Heading 4</h4>
<p>
<label>
<input name="my-checkbox" type="checkbox">
My favorite checkbox
</label><br>
<label>
<input name="my-checkbox" type="checkbox" checked>
My least favorite checkbox
</label>
</p>
<h5>Heading 5</h5>
<p>
<label>
<input name="my-radio" type="radio">
Radio star
</label><br>
<label>
<input name="my-radio" type="radio" checked>
Radio meteorite
</label>
</p>
<h6>Heading 6</h6>
<p>
<label>
<strong>select</strong><br>
<select name="my-select">
<option value="1">First</option>
<option value="∞">Last</option>
</select>
</label>
</p>