As of IE10, browser detection tags are no longer supported for identifying a browser.
In order to detect IE10, I am utilizing JavaScript and a technique that tests for certain ms
prefixed styles like msTouchAction
and msWrapFlow
.
I would like to do the same for IE11, but I am assuming that all the styles supported in IE10 will also be supported in IE11. Can someone assist me in identifying unique IE11 styles or capabilities that can differentiate the two?
Additional Information
- I prefer not to rely on User Agent type detection due to its unreliability and susceptibility to change. Additionally, I have heard that IE11 intentionally conceals its identity as Internet Explorer.
- An example of how the IE10 capability testing functions can be found in this JsFiddle (not created by me), which served as the basis for my testing.
- I anticipate receiving responses criticizing this approach. However, my goal is to differentiate between IE10 and IE11+ to progress with a capability-based detection method in the future, especially when dealing with poorly implemented features claimed to be supported in IE10.
- This test is complemented by a Modernizr test that adjusts functionality to less sophisticated behavior as a fallback. This is not related to crucial functionalities.
Although I am currently using Modernizr, it does not address this issue.