digitalfootmark
digitalfootmark

Reputation: 744

How to determine if IE11 or Edge in IE compatibility mode is used

Anybody knows how to detect the browser type? Especially to make a difference between Edge in IE compatibility mode and "real" IE11.

HTTP headers (e.g. User-Agent) are same in both cases, so that cannot be used to determine the browser.

And so far I haven't found any js differences either.

Upvotes: 0

Views: 1141

Answers (1)

Xudong Peng
Xudong Peng

Reputation: 2350

In fact, pages using Edge IE mode actually run Internet Explorer based on the MSHTML engine, instead of Edge based on Chroiumn.

In addition, you can also learn more details about IE mode from this blog: Internet Explorer 11 desktop app retirement FAQ

Upvotes: 1

Related Questions