Spaces:
Running
Running
Update index.html
Browse files- index.html +30 -18
index.html
CHANGED
@@ -1,19 +1,31 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
</html>
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<title>Bulk Website Opener</title>
|
6 |
+
<style>
|
7 |
+
body { font-family: sans-serif; padding: 20px; }
|
8 |
+
textarea { width: 100%; height: 200px; }
|
9 |
+
button { padding: 10px 20px; margin-top: 10px; font-size: 16px; }
|
10 |
+
</style>
|
11 |
+
</head>
|
12 |
+
<body>
|
13 |
+
<h2>Bulk Website Opener</h2>
|
14 |
+
<p>Enter one URL per line (include https://):</p>
|
15 |
+
<textarea id="urls" placeholder="https://example.com"></textarea><br>
|
16 |
+
<button onclick="openWebsites()">Open Websites</button>
|
17 |
+
|
18 |
+
<script>
|
19 |
+
function openWebsites() {
|
20 |
+
const urls = document.getElementById("urls").value.split('\n');
|
21 |
+
urls.forEach(url => {
|
22 |
+
const trimmed = url.trim();
|
23 |
+
if (trimmed) {
|
24 |
+
const finalUrl = trimmed.startsWith("http") ? trimmed : "https://" + trimmed;
|
25 |
+
window.open(finalUrl, '_blank');
|
26 |
+
}
|
27 |
+
});
|
28 |
+
}
|
29 |
+
</script>
|
30 |
+
</body>
|
31 |
</html>
|