-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
46 lines (42 loc) · 1.63 KB
/
popup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Enable User Select</title>
<meta name="description" content="Forces user-select property to be enabled on all elements." />
<link rel="stylesheet" href="popup.css" />
<link rel="manifest" href="manifest.json" />
</head>
<body>
<h1>Enable User Select</h1>
<div class="toggle-container">
<label for="toggle-input" class="toggle-label">
Enable text selection
<div
class="toggle"
role="switch"
aria-checked="false"
aria-labelledby="toggle-input-label"
aria-describedby="toggle-description"
>
<input
type="checkbox"
id="toggle-input"
aria-labelledby="popup-title toggle-input-label"
aria-checked="false"
/>
<span class="toggle-slider" tabindex="0" role="presentation"></span>
</div>
</label>
</div>
<div id="toggle-description" class="info-box" role="region">
<p>
Enabling this option allows you to freely select and copy text on web pages that may have restricted
text selection.
</p>
<p>To toggle this setting, simply use the checkbox above.</p>
</div>
<script src="popup.js"></script>
</body>
</html>