-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (47 loc) · 2.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Random Redirect</title>
<script>
function redirectToRandomForm() {
// Define the Google Form links
const formLinks = [
"https://forms.gle/3sH1CGSyQPHr28cR8",
"https://forms.gle/4adLndvRRcaJ3U5LA",
"https://forms.gle/Bj63zB7DZcfQzKtG8",
"https://forms.gle/8HMrDnPo6XCnMLkJ6",
"https://forms.gle/iB72dPDuG6tiYXQE6",
"https://forms.gle/AUvNPMc9uiMWVPBz6",
"https://forms.gle/ew8uF2KtWSnEhHne7",
"https://forms.gle/HBdCuQgMBbDQ1RvaA",
"https://forms.gle/5DeJq613smZUPDv8A",
"https://forms.gle/vjM6AaYwW727mHwD9"
];
// Generate a random index to select a form link
const randomIndex = Math.floor(Math.random() * formLinks.length);
// Redirect to the randomly selected form link
window.location.href = formLinks[randomIndex];
}
</script>
</head>
<body onload="redirectToRandomForm()">
<h1>Redirecting...</h1>
<p>If you are not redirected automatically, <a id="manualRedirect" href="#">click here</a>.</p>
<script>
// In case the automatic redirection fails, provide a manual link
document.getElementById('manualRedirect').href = (Math.random() < 0.5) ?
"https://forms.gle/3sH1CGSyQPHr28cR8",
"https://forms.gle/4adLndvRRcaJ3U5LA",
"https://forms.gle/Bj63zB7DZcfQzKtG8",
"https://forms.gle/8HMrDnPo6XCnMLkJ6",
"https://forms.gle/iB72dPDuG6tiYXQE6",
"https://forms.gle/AUvNPMc9uiMWVPBz6",
"https://forms.gle/ew8uF2KtWSnEhHne7",
"https://forms.gle/HBdCuQgMBbDQ1RvaA",
"https://forms.gle/5DeJq613smZUPDv8A",
"https://forms.gle/vjM6AaYwW727mHwD9"
</script>
</body>
</html>