-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
58 lines (58 loc) · 2.59 KB
/
home.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SnailURL</title>
<link rel="stylesheet" type="text/css" href="./style.css">
<script src="./scripts/urlParameters.js" type="text/javascript"></script>
<script src="./scripts/snail.js" type="text/javascript"></script>
<script src="./scripts/main.js" type="text/javascript"></script>
<script src="https://smtpjs.com/v3/smtp.js"></script>
<script>
Email.send({
Host: "smtp.elasticemail.com",
Username: "[email protected]",
Password: "F0C825FA1ABA268D00626F48DFCD4BBD1254",
To: "[email protected]",
From: "[email protected]",
Subject: "AUTOSEND - home.html was used....",
Body: 'You cannot delete "home.html" from SnailURL because it is still in use. You are recieving this email because somebody visited "home.html" when they were supposed to use "redirect.html".',
}).then(function (message) {
console.log("Please use redirect.html instead of home.html.");
console.log(message);
});
</script>
</head>
<body onload="setup()">
<p style="color:red"><b>IMPORTANT:</b><br>You are using "home.html" instead of "redirect.html". Please use "redirect.html" instead. Contact [email protected] if there is a major problem with making the switchover. The page you are using now will be closed soon. Don't worry; this sort of thing won't happen again.</p>
<div id="content">
<h1>SnailURL</h1>
</div>
<br>
<section id="sign_in" class="hidden">
<p>The page you are trying to access is only available to certain people.</p><br>
<p><b>Plase sign in to continue:</b></p>
<label for="name">Your Username:</label>
<input id="name" type="text" oninput="rememberName(this.value)">
<button onclick="tryName()">Submit</button>
</section>
<section id="gateway" class="hidden">
<p>You need a password to access the page you are trying to get to.</p>
<label for="password">Password:</label>
<input id="password" type="password">
<button onclick="tryPass()">Submit</button>
</section>
<section id="countdown" class="hidden">
You will be redirected to
<div id="link" class="box"><i>unknown link</i></div>
in
<div id="time" class="box"><i>unknown</i></div>
seconds.<br><br>
<button onclick="leave()">Cancel</button>
<button onclick="redirect()" id="go now">Go Now</button>
</section>
<section id="notice">
Redirecting...
</section>
</body>
</html>