Home / Free JavaScripts / User System / Here
Cut & Paste Browser type detection
Credit: JavaScript
Kit
Description: Will detect whether a user is using Netscape, or Internet Explorer, and send them to a different page accordingly.
Example: Well, an example in this case is a little difficult...
Directions: Simply cut and paste the below code to the <head> section of your webpage. Change the part in red to your own pages.
<script> <!-- /*By George Chiang (JK's JavaScript tutorial) http://www.javascriptkit.com Credit must stay intact for use*/ var n=navigator.appName var ns=(n=="Netscape") var ie=(n=="Microsoft Internet Explorer") if (ns) location="page1.htm" else if (ie) location="page2.htm" //--> </script> |
JavaScript Tools:
Site Info