Advertisement
RexHacker

How to Redirect Blogger to Another Site

Mar 10th, 2014
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. <form name="redirect">
  2. <center>
  3. <font face="Arial"><b>Your site will redirect within<br><br>
  4. <form>
  5. <input type="text" size="3" name="redirect2">
  6. </form>
  7. seconds</b></font>
  8. </center>
  9.  
  10. <script>
  11.  
  12. var targetURL="http://www.RexHacker.Blogspot.com/"
  13. var countdownfrom=10
  14.  
  15. var currentsecond=document.redirect.redirect2.value=countdownfrom+1
  16. function countredirect(){
  17. if (currentsecond!=1){
  18. currentsecond-=1
  19. document.redirect.redirect2.value=currentsecond
  20. }
  21. else{
  22. window.location=targetURL
  23. return
  24. }
  25. setTimeout("countredirect()",1000)
  26. }
  27.  
  28. countredirect()
  29. //-->
  30. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement