-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
24 lines (23 loc) · 813 Bytes
/
index.html
File metadata and controls
24 lines (23 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html>
<!--
Lord!
Bless everyone using this redirect service!
-->
<head>
<script>
var url = window.location.hash.replace(/^#/, "");
if(url != "") {
window.location.href = url;
} else { //try GET-Params ... not that secure but an fallback because # aren't always taken in 302/301-redirects in Safari
url = String(document.location).replace(/^.*?\?/, "");
if(url != "") {
window.location.href = url;
}
}
</script>
</head>
<body>
<h1>Please wait!</h1>You will probably be redirected immediately!<br><br>If Javascript is disabled, enable it or delete the first part of the url yourself!<hr>Infos about this redirector can be found <a href="doc.html">here</a>! Be aware that simply adding #something in the url-bar leads not to reload the page and therefore not to redirection.
</body>
</html>