-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (68 loc) · 3.05 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
74
75
76
77
78
79
80
81
82
83
84
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<meta name="generator" content="">
<title>Redirecting</title>
<link rel="canonical" href="">
<!-- Bootstrap core CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script>
<!-- Favicons -->
<link rel="apple-touch-icon" href="/assets/favicons/apple-touch.png" sizes="180x180">
<link rel="icon" href="/assets/favicons/favicon-32.png" sizes="32x32" type="image/png">
<link rel="icon" href="/assets/favicons/favicon-16.png" sizes="16x16" type="image/png">
<link rel="manifest" href="/assets/favicons/manifest.json">
<link rel="mask-icon" href="/assets/favicons/safari.svg" color="#fff">
<link rel="icon" href="/assets/favicons/favicon.ico">
<meta name="theme-color" content="#fff">
<style>
html,body {
height: 100%;
}
.container {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
</style>
</head>
<body>
<div id="redirect" class="container"></div>
<!-- JavaScript part -->
<script type="text/javascript">
//__________Edit the number of seconds it takes to redirect and the redirect URL below______________
var seconds = 10;
var redirectDomain = "theafricanboss.com";
//__________Edit the number of seconds it takes to redirect and the redirect URL above______________
var redirectUrl = "https://" + redirectDomain;
var page = document.getElementById('redirect');;
page.innerHTML += `
<div class="text-center">
<h3>
Redirecting to <a href="${redirectUrl}">${redirectDomain}</a> in <span id="countdown">${seconds}</span> seconds
</h3>
<p>You can also <a href="${redirectUrl}">redirect here manually</a></p>
</div>
`;
function countdown() {
seconds = seconds - 1;
if (seconds < 0) {
// Chnage your redirection link here
window.location = redirectUrl;
} else {
// Update remaining seconds
document.getElementById("countdown").innerHTML = seconds;
// Count down using javascript
window.setTimeout("countdown()", 1000);
}
}
// Run countdown function
countdown();
</script>
</body>
</html>