Commit 8d08ed27 authored by lizonr1's avatar lizonr1

Add script to redirecting

parent 52a236bd
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0; url=https://www.facebook.com/baz0k" />
<title>Redirect</title>
</head>
<!DOCTYPE html>
<html>
<body>
Redirecting ...
<script type="text/javascript">
window.location.replace(getUrlParameters()['site']);
function explode(delim, str)
{
return str.split(delim);
}
function getUrlParameters()
{
var out = {};
var str = window.location.search.replace("?", "");
var subs = explode('&', str);
for(var i = 0; i < subs.length; ++i)
{
var vals = explode('=', subs[i]);
out[vals[0]] = vals[1];
}
return out;
}
// Javascript URL redirection
</script>
Redirecting
</body>
</html>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment