How to detect IE 11 with javascript in Asp.net

You can explicitly detect IE11 with the following check (using feature detection): if (Object.hasOwnProperty.call(window, “ActiveXObject”) && !window.ActiveXObject) { // is IE11 } Explanation: All versions of IE (except really old ones) have window.ActiveXObject property present. IE11, however hides this property from DOM and that property is now undefined. But the property itself is present within … Read more

font awesome icon is not appearing in IE 11, but showing in other browsers

I had the same issue, I solved it by adding this meta tag as the FIRST tag in <head>: <meta http-equiv=”X-UA-Compatible” content=”IE=edge”> Also, according to the official documentation, check the following: For Internet Explorer: you don’t serve files with no-store option in Cache-control header (Ref: #6454); For Internet Explorer and HTTPS: you don’t serve files … Read more

How does the registry entry HKEY_LOCAL_MACHINE\…\FEATURE_BFCACHE for InternetExplorerDriver solves the Internet Explorer 11 issue?

You saw it right. As per the documentation in the Required Configuration section of InternetExplorerDriver it is clearly mentioned: For IE 11 only, you will need to set a registry entry on the target computer so that the driver can maintain a connection to the instance of Internet Explorer it creates. For 32-bit Windows installations, … Read more

How to bring back “Browser mode” in IE11?

[UPDATE] The original question, and the answer below applied specifically to the IE11 preview releases. The final release version of IE11 does in fact provide the ability to switch browser modes from the Emulation tab in the dev tools: Having said that, the advice I’ve given here (and elsewhere) to avoid using compatibility modes for … Read more

Template literals syntax is not working in IE11

If you look at the ECMAScript 6 compatibility table, you’ll see that template literals are not supported by IE11. The “use strict”; statement doesn’t really change anything, because before it is determined whether a code is in strict mode, it has to be parsed first, but it can’t be parsed, because you’re using syntax that the … Read more

Detecting IE version using CSS Capability/Feature Detection

In the light of the evolving thread, I have updated the below: IE 6 * html .ie6 {property:value;} or .ie6 { _property:value;} IE 7 *+html .ie7 {property:value;} or *:first-child+html .ie7 {property:value;} IE 6 and 7 @media screen\9 { .ie67 {property:value;} } or .ie67 { *property:value;} or .ie67 { #property:value;} IE 6, 7 and 8 @media … Read more