I want to know what's the best way to identify the different Internet Explorer version based on the user agent.
What I seen so far is that the user agent of Internet Explorer 11 (native mode) is:
Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko
The configuration for Internet Explorer 10 is:
Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)
So, the question is: ¿Locating this "Trident/7.0" is a good way to detect if a browser is Internet Explorer 11??
Aucun commentaire:
Enregistrer un commentaire