Browse - Programming Tips - Can I detect IE11 from its user agent string?
Keywords: Internet Explorer, iexplore
Q. Can I detect IE11 from its user agent string?
OK, that was a bit strong.
In previous versions of IE the user agent string contained "MSIE".
But its not there for IE11.
It does have "Trident" which is the layout engine.
Example IE11 user agent string:
Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko