Latest Tricks :
Home » » Redirect to another page and link automatically to other pages

Redirect to another page and link automatically to other pages

| 0 comments

This code gets the user to another page if they for a few seconds.



<!-- This Script is from www.hackingcrush.com, Coded by: Sukant Sharma-->
<center>
<font face="Arial"><b>You will be redirected to the script in<br><br>
<form>
<input type="text" size="3" id="timer" name="redirect2" value="5">
</form>
seconds</b></font>
</center>

<script>
<!--

var targetURL="http://www.htmlfreecodes.com"

var currentsecond=5;
function countredirect(){
if (currentsecond!=1){
currentsecond-=1
document.getElementById('timer').value=currentsecond;
}
else{
window.location=targetURL;
return
}
setTimeout("countredirect()",1000)
}

countredirect();
//-->
</script>
<!--webbot bot="HTMLMarkup" endspan --></p>
</body>
</html></body>
</html>

<font face="Tahoma"><a target="_blank" href="http://www.hackingcrush.com/"><span style="font-size: 8pt; text-decoration: none">Hacking Tricks</span></a></font>




Share this article :

0 comments:

Post a Comment

 
A Website by Neeraj
Copyright © 2014. Hacking Crush - All Rights Reserved
Developed by :Neeraj Dhawan
Organized by : Neeraj Dhawan