Modify ↓
Ticket #6218 (closed bug: fixed)
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: | |
| Blocking: | Blocked by: |
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.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
