View Single Post
Re: Auto-moving to another webpage
Old
  (#4)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Auto-moving to another webpage - 26-12-2003

Code:
<script language="JavaScript">
<!-- 
if( -1 == location.href.
           toLowerCase().
           indexOf('www.bots-united.com') )
{
  location.href = 'http://www.bots-united.com';
}
// -->
</script>
I figured this code works instantly for redirecting. It does not allow the users to read that they are redirecting. I also read somewhere in a book that you can do it with pure html though.

Anyway, i found this on the internet using mighty google the login->view source thingy gave me to much crap
  
Reply With Quote