-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
30 lines (25 loc) · 1.14 KB
/
options.html
File metadata and controls
30 lines (25 loc) · 1.14 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Website Timer Enforcer - Settings</title>
<link rel="stylesheet" href="options.css" />
</head>
<body>
<main>
<h1>Website Timer Enforcer</h1>
<p class="intro">Configure the sites where timer lock should be enforced.</p>
<label for="patterns">URL Patterns (one per line)</label>
<textarea id="patterns" rows="10" placeholder="https://example.com/* regex:^https://(www\\.)?youtube\\.com/.*$"></textarea>
<p class="hint">Use plain wildcard patterns (with <code>*</code>) or prefix regex rules with <code>regex:</code>.</p>
<label for="defaultDuration">Default Duration (minutes)</label>
<input id="defaultDuration" type="number" min="1" step="1" />
<label for="timeoutMessage">Timeout Message</label>
<input id="timeoutMessage" type="text" maxlength="200" />
<button id="saveBtn">Save Settings</button>
<p id="status" role="status" aria-live="polite"></p>
</main>
<script src="options.js"></script>
</body>
</html>