title: How to prevent error messages at the browser using JavaScript?
body: <p>I'm writing a web application which conducts calculations that stress the browser and the computer's CPU. </p>
  
  <p><strong>The program should act as follows, and the stressing is not something that is the problem, or needs to be solved.</strong></p>
  
  <p>I would like to prevent the browser (Chrome and Firefox especially) from popping up an error message such as <em>'page is unresponsive'</em>.</p>
  
  <p>How can I do it using javaScript?</p>
  
  <p>I prefer not to change browser setting (I don't want that users of the app have to change Chrome settings manually).</p>