title: How do I suppress "friendly error messages" in Internet Explorer?
body: <p>I want to display a custom error page:</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html&gt;
  &lt;head&gt;&lt;title&gt;400 Bad Request&lt;/title&gt;&lt;/head&gt;
  &lt;body&gt;&lt;h1&gt;400 Bad Request&lt;/h1&gt;
  The grob must be in the frobber.
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Unfortunately, Internet Explorer ignores the response sent by the HTTP server; hiding my page and showing their own:</p>
  
  <p><img src="https://i.stack.imgur.com/hohWQ.png" alt="Generic &quot;This webpage cannot be found&quot; IE error message"></p>
  
  <p>How can I convince Internet Explorer to show the page the user was sent?</p>
  
  <p><strong>Edit</strong> Chrome began doing the same thing <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=1695" rel="nofollow noreferrer">in 2008</a>. People have asked for it to be fixed; but it's marked as <strong>won't fix</strong>.</p>
  
  <p>And you can fix it using the same trick in the answer.</p>