newbee
New member
thanks to Defacer.biz
langsung ajah..
ini buat bikin direct doang seh..
judulnya ajah yang agak heboh..wekekek
preview : http://fs.new-bee.co.cc
yang dibutuhin :
redirect.js
index.html
ini aku praktekkin di webhost dengan memanfaatkan subdomain..
thanks to my friends [at] Defacer.biz
sorry klo salah post..
langsung ajah..
ini buat bikin direct doang seh..
judulnya ajah yang agak heboh..wekekek
preview : http://fs.new-bee.co.cc
yang dibutuhin :
redirect.js
/**
* Gorontalo Defacer
* Staff [at] Defacer [dot] biz
* Redirect Are SUCKS!!!
*/
function directx(url, msg)
{
var TARG_ID = "direct";
var DEF_MSG = "<br><br><br><br><br><br><br>Your message HERE";
if( ! msg )
{
msg = DEF_MSG;
}
if( ! url )
{
throw new Error('nothing');
}
var e = document.getElementById(TARG_ID);
if( ! e )
{
throw new Error('nothing');
}
var cTicks = parseInt(e.innerHTML);
var timer = setInterval(function()
{
if( cTicks )
{
e.innerHTML = --cTicks;
}
else
{
clearInterval(timer);
document.body.innerHTML = msg;
location = url;
}
}, 1000);
}
index.html
Code:
<html>
<head>
<title>Welcome to xxxx</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body {
color: white;
background: black;
font: bold 18pt Courier New;
text-align: center;
}
div.counter {
margin-top: 20px;
color: lime;
font-size: 60pt;
cursor: default;
}
div.info {
margin: 0 auto;
text-align: center;
font-size: smaller;
width: 90%;
margin-top: 2em;
}
div.bye {
margin: 0 auto;
text-align: center;
color: blue;
font-size: larger;
width: 90%;
margin-top: 2em;
}
</style>
<script src="redirect.js" type="text/javascript">
</script>
</head>
<body onload="directx('UR URL DIRECT')">
<br>
<br>
<br>
<br>
<div> You will now redirect to xxxxx </div>
<br>
<br>
<div class="info">Shut down....<br>
<em>HELL-BYE</em>, when the timer reaches zero.</div>
<br>
<div class="counter" id="direct">11</div>
</body>
</html>
ini aku praktekkin di webhost dengan memanfaatkan subdomain..
thanks to my friends [at] Defacer.biz
sorry klo salah post..