Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable IE8 script error message?

I'm using CodedUI on IE8, and get this error message:

     Stop running this script?
     A script on this page is causing your web browser to run slowly.
     If it continues to run, your computer might become unresponsive.

I've read some forums and did the following: Tools > Internet Options > Advanced tab > Browsing

  1. Check the "Disable script debugging (Internet Explorer) checkbox
  2. Check the "Disable script debugging (Other) checkbox
  3. Uncheck the "Display a notification about every script error" checkbox

and this message still appears...

Can anyone assist me here?

like image 700
Fyber Avatar asked Mar 14 '12 13:03

Fyber


People also ask

Why do I keep getting a script error message on my computer?

A: Script error messages tend to appear when one's browser is out of date. What happens is the website you are visiting contains a version of JavaScript (the programming language that allows for animation and interactivity on websites) that is newer than what is installed on your browser.

How do I get rid of a long running script error?

First, go to the Settings section and scroll down to Browsing. Next, check the box associated with Disable script debugging (Internet Explorer). Next, look down below and uncheck the box associated with Display a notification about every script error.


1 Answers

IE has a registry setting for that

Error message: "A script on this page is causing Internet Explorer to run slowly"

but that requires you so change the registry on each client machine and for each user.

It will however allow you script to run so you can profile it and find out whats causing the delay.

Also look at this SO question How to mimic effects of MaxScriptStatements (i.e. prevent “A script on this page is causing Internet Explorer to run slowly”) without changing the registry?

like image 187
Dampsquid Avatar answered Sep 19 '22 02:09

Dampsquid