Internet Explorer Scripts Taking Too Long

· Windows Registry

When inefficient SQL queries are run over and over again by a web application, sometimes you will see an errors message similar to one of the following:

A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?

This page contains a script which is taking an unusually long time to finish. To end this script now, click Cancel.

Internet Explorer is designed to prevent an endless loop from occurring so it will prompt the user after a specified number of statements run. One way to set the threshold to the maximum value is through the script.

Place the below in a *.REG file and double click it.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"KeepAliveTimeout"=dword:99999999

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles]
"MaxScriptStatements"=dword:99999999
author image

About Joseph Spurrier

I'm passionate about building solutions to automate tasks and improve efficiency. I worked for a few companies in the digital healthcare space. My education is in forensics. Tech guy. Traveler. Runner. Guitar player. Scotch and beer enthusiast. GitHub LinkedIn Twitter Google+

Share this post


Comments powered by Disqus