Side navigation
#6218 closed bug (fixed)
Opened March 04, 2010 11:38AM UTC
Closed August 09, 2010 02:03AM UTC
jQuery.browser claims MSIE 8.0 to be MSIE 6.0 in certain browsers
Reported by: | telensky2 | Owned by: | |
---|---|---|---|
Priority: | Milestone: | ||
Component: | support | Version: | 1.3.2 |
Keywords: | browser detection ie msie | Cc: | |
Blocked by: | Blocking: |
Description
The jQuery.browser() function fails to determine the correct MSIE version.
User agent string:
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
I'd recommend to use the browser detection by Douglas Crockford:
http://javascript.crockford.com/jsmin.html
It works well in this case.