link/index.html
2023-06-25 19:14:24 +03:00

29 lines
No EOL
826 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>redirecting</title>
</head>
<body>
<noscript>PLEASE ENABLE JAVASCRIPT</noscript>
<div id="info1">You will be automatically directed to the <span id="info2">ERROR - PLEASE ENABLE JAVASCRIPT OR CONTACT
WITH ADMIN</span></div>
<script>
var a = location.href;
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;
window.location.replace(c);
}
</script>
</body>
</html>