Firefox/Javascript Problem

Jun 4, 2005
19,723
1
0
Every once in a while, Firefox will freeze up and sometimes an error will come up. This is a Javascript error and it says there's a problem with a script on the page and asks me to cancel or stop the script. Also, when I visit GMail, my browser will also freeze up.

This is clearly javascript aswell. Anyone know what's going on here?

EDIT : Deleting my profile seemed to solve this.
 

TaylorD

Diamond Member
May 13, 2000
5,495
0
76
I am having the same problem, I think...
It's only on AT, when I go to a posting, it freezes then finally asks if I want to stop the script with a "warning:unresponsive script" window...

Anyone have any ideas?

edit:
what profile did you delete?
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
This happens when people can't write javascript worth a crap.

If you have a script that does this:

while (1>0){
// eat up CPU time
}

it will sit there forever, using up processor time and it never completes. This slows down your PC, because your whole processor is being used trying to finish up with this never-ending webpage script.

Firefox steps in after the script looks like it's been running for too long, and asks if you'd like to force it to stop.

 

TaylorD

Diamond Member
May 13, 2000
5,495
0
76
I wish there was a way to automatically let firefox stop anything suspicious.
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
I wish there was a way to automatically let firefox stop anything suspicious.
It's not always suspicious. Gmail, for example, just builds a LOT of the page dynamically, which takes a while in an interpreted language like JavaScript.