-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add home.html in case people are still using it
This will probably be removed soon. If you don't think it should for some reason, email this address: [email protected]
- Loading branch information
1 parent
b4c886a
commit 211130a
Showing
1 changed file
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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> |