It's also important to capture the mobile browser version - Chrome for
Android updates independant of the underlying OS, and there are
third-party browsers available for both iOS and Android. Is this also
being implemented, or should I raise a separate topic?
The simple trick for detecting IE8, IE9 and soon IE10 in compatability
mode is to look for User Agent strings that contain "MSIE 7.0" and also
"Trident/4.0", "Trident/5.0" or "Trident/6.0" respectively. The user
agent string for IE7 doesn't contain "Trident" at all. I maintain a
SAINT classification of the User Agent in order to provide this
information for my site, but it's a lot of work keeping it up to date
because the User Agent strings change so much (there are hundreds of
thousands of uniq...