Browser Detection Update

Long time ago I developed Browser Detection Class which is able to recognize most of popular browser/OS’s used today.

For example FF on my macbook pro would be recognized like this:
Mozilla Firefox 3.0.4 / Mac OS X

Very useful stuff in case you have to redirect your users to different pages depending of browser version or to maintain your own site browser/os usage statistics.

Today I had a chance to update it with support for Windows Vista, Google Chrome and iPhone.

You can download complete code with usage examples by following this link.


  1. Freakk
    January 13th, 2009 | 4:10 pm

    Great class, thanks for effort!

  2. October 26th, 2010 | 10:58 am

    Thanks for sharing the code snippet. I’ve been using a modified version for projects that I have been working on… Thanks Much!

  3. June 27th, 2011 | 1:11 am

    I have test several classes for browser detection and you got the best one. Very, very usefull. Thanks a lot!!!

Leave a reply