How to Get Rid of Script Errors

By Ian Kenney

There are few things more annoying than Internet Explorer when it encounters a script error on a webpage, particularly if that script error has corrupted other scripts in a line. IE stops on each error to let you know about the problem with a pop-up window even though the effect of the error is usually invisible to you as a user. What happens is that IE is trying to resolve a problem that is coming from the site. If you would prefer not to see those anymore, you just need to do a little tinkering with the settings.

Step 1

Open Internet Explorer and go to “Tools.” IE7 and below list Tools as one of the drop-down menu options along the top. IE8 displays the Tools menu in the upper right-hand corner.

Step 2

In the “Tools” menu, go to “Internet Options.”

Step 3

Click on the “Advanced” tab. Under “Browsing,” make sure that “Disable Script Debugging” is checked and “Display a Notification of Every Script Error” is unchecked.

Step 4

Restart Internet Explorer. If you are still getting script errors, go to “Start” and select “Run” or \"Start Search.\" Type \"regedit\" in the dialog box.

Step 5

Find the key “HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Styles.” Right-click on that, hover over “New” and select “D Word Value.” Name it “MaxScriptStatements.”

Step 6

Leave the default value of “0X000000000,” and you should be rid of the errors for good.