How to Get Rid of Script Errors
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.
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.
In the “Tools” menu, go to “Internet Options.”
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.
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.
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.”
Leave the default value of “0X000000000,” and you should be rid of the errors for good.