Javascripts > Javascript Redirects > Browser Check Redirection
Script Title: Browser Check Redirection
Description: Redirect visitors based on browser type.
Example: No example available for this script.
Copy the following code into your <HEAD></HEAD> tags.<script LANGUAGE="JavaScript"> function BrowserCheck() { BrowserName = navigator.appName; BrowserVersion = parseInt(navigator.appVersion); DetermineOutcome(BrowserName, BrowserVersion) } function DetermineOutcome(BrowserName, BrowserVersion) { if (BrowserName == "Netscape" && BrowserVersion >=3) { location.href="netscape.html" } else { location.href="ie.html" } } //--> </script>
Copy the following code INTO your <BODY> tag.onLoad="BrowserCheck()"
Enter your name and email address to have this script sent right to your Inbox for later viewing. First Name Last Name Email