Better Redirect

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search

In 1997 Roach designed a simple HTML / JavaScript page to serve as a redirect for visitor web browsers. The redirect implements multiple techniques and failsafe to ensure that almost all web browsers respond properly to the redirect. The redirect is compatible with all known web browsers including:

  • Netscape - all versions
  • Internet Explorer - all versions
  • NCSA Mosaic
  • Lynx (text mode browser)
  • Mozilla
  • Firefox
  • Opera
  • and more...

The Roach Better Redirect is licensed under the GNU GPL. You may copy the HTML code below. Simply use a Regex to find and replace the following string:

 http://REPLACEME/

You may also wish to add your own graphic logo by replacing the following:

 BODY background=http://www.robotz.com/images/tas4wm07.gif

With the full URL of the web page or site you wish to have visitors redirected to.

 <!DOCTYPE HTML by Roach Programmed 5-7-97 Trans American Software 1989>
 <!TESTED HTML Netscape 2.0 & 3.0, Explorer 2.0 compatibility>
 <!Last Modification Thursday, October 22, 1998 11:19:13 AM >
 <!ADVANCED A better Redirect (the most advanced yet) by Roach 10/22/98>
 <HTML>
 <HEAD>
 <TITLE>Another Fine HTML by Roach</TITLE>
 </HEAD>
 
 <SCRIPT LANGUAGE="JavaScript">
 <!--//
   
 var txtDefault="redirect";
 
 if (txtDefault == 'redirect') {
     parent.top.location.replace("http://REPLACEME/");
 }
 //-->
 </SCRIPT>
 
 <META HTTP-EQUIV="Refresh" CONTENT="1; url=http://REPLACEME/">
 
 <BODY background=http://www.robotz.com/images/tas4wm07.gif link=#0033cc alink=#ffff33 vlink=#000099>
 <LI><FONT SIZE=+2><A HREF="http://REPLACEME/" target="_top">
 if page does not redirect in one minute, click here.</A></FONT></LI>
 </body>
 
 </HTML>