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