This would be a great help if someone knows how to figure out the correct IE version.
Here is what we have now. We have a web application. May of our users are using IE 11 or older versions and WITH compatible mode on. So now I have find out a way to log the correct browser version and the compatible version they are using.
After googling, I have tried many options (including below), but I am not getting the IE11. I am getting IE7.
I am using code output
--------- ---- -------
IE11, Compatible Ver:5 navigator.userAgent MSIE 7.0
IE11, Compatible Ver:Edge navigator.userAgent rv:11
IE11, Compatible Ver:5 navigator.appVersion MSIE 7.0
IE11, Compatible Ver:5 navigator.appVersion rv:11
I want
IE11, Compatible Ver:5 <code/> MSIE 11, Comp: 5
IE11, Compatible Ver:Edge <same code/> MSIE 11, Comp: Edge
I am trying to achieve it using javascript or JQuery. Thanks in advance for your time and help.