-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (50 loc) · 2.21 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>URL Extractor Tool</title>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="container my-5">
<h1 class="text-center mb-4">URL Extractor Tool</h1>
<p class="text-center text-muted">
Paste content with links below, and this tool will extract all valid URLs for you.
</p>
<div class="mb-3">
<div id="input"
class="form-control"
contenteditable="true"
aria-label="Input area for pasting content with links">
<span class="placeholder">Paste your content here...</span>
</div>
</div>
<div class="form-check mb-2">
<input type="checkbox" id="defaultCheckbox" class="form-check-input" checked>
<label for="defaultCheckbox" class="form-check-label">
Include external URLs only (checked by default)
</label>
</div>
<div class="form-check mb-2">
<input type="checkbox" id="removeDuplicatesCheckbox" class="form-check-input" checked>
<label for="removeDuplicatesCheckbox" class="form-check-label">
Remove duplicate URLs (checked by default)
</label>
</div>
<div class="form-check mb-3">
<input type="checkbox" id="sortURLsCheckbox" class="form-check-input">
<label for="sortURLsCheckbox" class="form-check-label">
Sort URLs alphabetically (unchecked by default)
</label>
</div>
<div id="output-container" class="d-none mt-3">
<h2 class="h5">Extracted URLs</h2>
<textarea id="output" class="form-control mb-2" readonly aria-label="Extracted URLs"></textarea>
<button id="copy-button" class="btn btn-primary w-100">Copy URLs to Clipboard</button>
</div>
</div>
<script type="text/javascript" src="script.js"></script>
</body>
</html>