Get IE 11 build number from javascript

TL; DR - How to get IE 11 build number in javascript?

I had a bug that was fixed at some point between versions 11.0.1 and 11.0.7. I would like to know the percentage of users who are experiencing the problem.

Basically I would like to get this number:

enter image description here

+7
javascript internet-explorer internet-explorer-11 user-agent
source share
1 answer

I do not think this is possible using only JavaScript. Microsoft is trying to hide the fact that IE11 is actually Internet Explorer, see http://www.nczonline.net/blog/2013/07/02/internet-explorer-11-dont-call-me-ie/ .

Therefore, even the IE11 user agent now looks like this:

Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; Tablet PC 2.0; InfoPath.3; rv:11.0) like Gecko 

The update version is stored in the Windows registry, you can find it under

 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\svcUpdateVersion 

However, it is impossible (right!) To access the Windows registry through JavaScript. VBScript can technically access the registry, but as a result, previous versions of IE displayed a warning dialog box ("Active content blocked"). In IE11, Microsoft completely removed VBScript support, see https://msdn.microsoft.com/en-us/library/dn384057%28v=vs.85%29.aspx .

I would try to find a different approach to solve your problem without relying on the update version. If you are desperate, it might be useful to compare the .NET versions (available in the User Agent) with the corresponding versions of IE, but personally I don’t think it is worth the effort trying to figure it out.

+1
source share

All Articles