link/index.html

29 lines
826 B
HTML
Raw Permalink Normal View History

2023-06-25 18:47:01 +03:00
<!DOCTYPE html>
<html>
<head>
<title>redirecting</title>
2023-06-25 18:52:39 +03:00
</head>
<body>
<noscript>PLEASE ENABLE JAVASCRIPT</noscript>
2023-06-25 19:07:40 +03:00
<div id="info1">You will be automatically directed to the <span id="info2">ERROR - PLEASE ENABLE JAVASCRIPT OR CONTACT
WITH ADMIN</span></div>
2023-06-25 18:52:39 +03:00
2023-06-25 18:47:01 +03:00
<script>
var a = location.href;
2023-06-25 19:07:40 +03:00
if (a.indexOf("?") == -1) {
document.getElementById("info1").innerHTML = "<h3>You did not enter any url!</h3><br>Please type a proper link like <b>https://l.asandikci.com/?redirect-link</b>"
}
else {
var b = a.substring(a.indexOf("?") + 1);
var c = "https://l.aliberksandikci.com.tr/" + b;
var d = "<a href='" + c + "'> l.aliberksandikci.com.tr/" + b;
document.getElementById("info2").innerHTML = d;
2023-06-25 19:14:24 +03:00
window.location.replace(c);
2023-06-25 19:07:40 +03:00
}
2023-06-25 18:47:01 +03:00
</script>
</body>
</html>