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.

/*By George Chiang (JK's JavaScript tutorial)
Credit must stay intact for use*/
var n=navigator.appName
var ns=(n=="Netscape")
var ie=(n=="Microsoft Internet Explorer")
if (ns)
else if (ie)

JavaScript Tools:
Site Info

CopyRight (c) 2015 JavaScript Kit. NO PART may be reproduced without author's permission. Contact Info