Mark B. – tech

Javascript – Detect Browser (simple)

To detect the browser that opened a website, just simply use navigator object on javascript.The Navigator object contains information about the visitor’s browser name, version, and more.

navigator.appCodeName   (display name of the browser code name)

navigator.appName (display name of the browser)

navigator.appVersion (display the version of browser)

and others like “navigator.platform” and “navigator.userAgent”

source :

This entry was published on April 17, 2011 at 4:23 pm and is filed under IT - Tutorial, Tutorial. Bookmark the permalink. Follow any comments here with the RSS feed for this post.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: