-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
73 lines (64 loc) · 2 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Link Opener</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
}
label {
display: block;
margin-bottom: 5px;
}
textarea {
width: 100%;
padding: 5px;
}
.button-container {
margin-top: 10px;
text-align: center;
}
button {
padding: 10px;
background-color: #007bff;
color: #fff;
border: none;
cursor: pointer;
margin: 5px;
}
button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<label for="linkNames">Enter Domain Names (one per line): </label>
<textarea id="linkNames" rows="5" cols="30" placeholder="example1.com example2.com"></textarea>
<div class="button-container">
<button onclick="openLinks(1)">Open Links All</button>
<button onclick="openLinks(5)">Open Links 5 Sec</button>
<button onclick="openLinks(10)">Open Links 10 Sec</button>
</div>
<script>
function openLinks(delay) {
var linkNames = document.getElementById("linkNames").value;
var namesArray = linkNames.split("\n");
var currentIndex = 0;
function openNextLink() {
if (currentIndex < namesArray.length) {
var linkName = namesArray[currentIndex].trim();
if (linkName !== "") {
var link = "https://in.godaddy.com/domain-value-appraisal/appraisal/?domainToCheck=" + linkName;
window.open(link, "_blank");
}
currentIndex++;
setTimeout(openNextLink, delay * 1000);
}
}
openNextLink();
}
</script>
</body>
</html>