title: ASP.NET & IE 11 - bad client-side scripts
body: <p>The client-side scripts that are loaded into IE 11 using ASP.NET 4.0 (version 4.0.30319) seem to be incorrect.</p>
  
  <p>Specifically, the bool <code>__nonMSDOMBrowser</code> is incorrectly set to true for IE 11 because of the following code:</p>
  
  <pre><code>var __nonMSDOMBrowser = (window.navigator.appName.toLowerCase().indexOf('explorer') == -1);
  </code></pre>
  
  <p>IE 11 has a changed user agent, so this code no longer works.</p>
  
  <p>I found out the above because of problems we're having with the WebForm_AutoFocus function that is unique to IE 11 and tracing through the code, I noticed that this bool was incorrect.</p>
  
  <p>My question, then, is has Microsoft released an update to ASP.NET (4.0) to support IE 11? Has anyone else run into this problem? In the meantime, we might hack the bool and correct it's value with our own added script, but obviously would prefer not to.</p>