FF1+ IE5+ Opr7+

Browser redirect Script

Author: Dynamic Drive

Description: This is a DHTML redirect script that sends your visitors to four different pages, depending on whether she is using NS 4, NS6+, IE 4+, or none of the above. It's a fool-proof way to ensure that only the intended browser gets to see and run a browser-specific DHTML script.


Directions: Developer's View

Create a blank page, and add the following code to the <head> section of it:

Select All

This blank page will act as the browser redirector. Change the destinations inside the script from Netscape.com, Microsoft.com, and Geocities.com to others, depending on whether the user is using NS 4, NS 6+, IE 4, or none of the above, respectively.

Wordpress Users: Step by Step instructions to add ANY Dynamic Drive script to an entire Wordpress theme or individual Post