Skip to main content

Bug Tracker

Side navigation

#14242 closed feature (notabug)

Opened August 09, 2013 01:21PM UTC

Closed August 09, 2013 01:32PM UTC

Last modified December 11, 2013 10:57PM UTC

Internet Explorer 11 User Agent String Support

Reported by: Shifeng.Li@motive.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.0
Keywords: Cc:
Blocked by: Blocking:
Description

Dear JQuery Technical Expert,

I am Shifeng Li in Austin. I would like to ask about JQuery.org product release plan to support the new IE 11 browser User Agent string.

The IE 11 browser has changed the User Agent String to “Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv 11.0) like Gecko”.

As we can see, the IE 11 browser User Agent String no longer contains the “MSIE”, plus the browser version is now separated away

from “MSIE”, but defined as “rv 11.0”.

In many current JQuery plug-ins/libraries, the IE browser information is being retrieved by using

the navigator.userAgent to get the user agent string, then applying regular expression match on “msie”,

or by using $.browser.msie and $.browser.version to detect IE browser information in older 1.8 JQuery.

So, would like to know if JQuery.org will soon release the new plug-ins and libraries to support the IE browser

and version detection that can support IE 11 and older IE versions.

Thanks in advance for your information.

Shifeng

Attachments (0)
Change History (3)

Changed August 09, 2013 01:32PM UTC by rwaldron comment:1

resolution: → notabug
status: newclosed

Changed December 11, 2013 10:44PM UTC by EcoiSerg@gmail.com comment:2

If you add the following line just before one checking for mozilla type browsers, you will be able to identify MSie 11 as "trident" "11.0" :

ua.indexOf("compatible") < 0 && /(trident)(?:.*? rv ([\\w.]+)|)/.exec( ua ) ||

Now the question is whether one wants to really consider MSie 11.0 has MSie or as something else, such as Trident ?

Then again, one should really check on availability of features rather than browser name/type and version.

Changed December 11, 2013 10:57PM UTC by EcoiSerg@gmail.com comment:3

Replying to [ticket:14242 Shifeng.Li@…]:

Dear JQuery Technical Expert, I am Shifeng Li in Austin. I would like to ask about JQuery.org product release plan to support the new IE 11 browser User Agent string. The IE 11 browser has changed the User Agent String to “Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv 11.0) like Gecko”. As we can see, the IE 11 browser User Agent String no longer contains the “MSIE”, plus the browser version is now separated away from “MSIE”, but defined as “rv 11.0”. In many current JQuery plug-ins/libraries, the IE browser information is being retrieved by using the navigator.userAgent to get the user agent string, then applying regular expression match on “msie”, or by using $.browser.msie and $.browser.version to detect IE browser information in older 1.8 JQuery. So, would like to know if JQuery.org will soon release the new plug-ins and libraries to support the IE browser and version detection that can support IE 11 and older IE versions. Thanks in advance for your information. Shifeng


Bonjour,

If you add the following line just before one checking for mozilla type browsers, you will be able to identify MSie 11 as "trident" "11.0" :

ua.indexOf("compatible") < 0 && /(trident)(?:.*? rv ([\\w.]+)|)/.exec( ua )

Now the question is whether one wants to really consider MSie 11.0 has MSie or as something else, such as Trident ? MSie 11.0 is really an attempt by MicroSoft to get back in line with all the other browsers 'dropping' many of the particuliarities of older MSie ... not without creating new issues.

Then again, one should really check on availability of features rather than browser name/type and version. Microsoft seems to have taken the route to report lack of support of older MSie 'features', in hopes people will stop checking for and using them, while secretely still supporting at least some of them to avoid crashing many sites still depending on these MSie specific features.

Serge

EcoiSerg@gmail.com