title: Escaping an infinite loop without terminating the browser
body: <p>Is there a way to escape a loop like the one below without closing the browser by terminating it process?</p>
  
  <p><strong>WARNING</strong>: Don't run the code below.  Running this code will throw your browser in an infinite loop of alerts.</p>
  
  <pre><code>&lt;html&gt;&lt;body onload="while(true)alert('Hello')"&gt;&lt;/body&gt;&lt;/html&gt;
  </code></pre>