views:

71

answers:

2

Several times I got into conditions my scripts threw alerts in high rates. While there is an alert modal window open, you can't do any other action in the browser. I am looking to develop an add-on that will enable me to kill or suspend the "thread" the alert modal window belongs to.
In What direction should I look?

+1  A: 

If you're using alert(); for debugging purposes maybe look for a logger instead?

If you perhaps use Firebug for Firefox (which you should imo) you can make use of the console.log() or .debug() methods to log directly to the Firebug console.

Kenny Eliasson
good idea (+1) but still not what I need.
Itay Moav
A: 

Maybe this could help?

How to stop javascript alert from showing after pressing ok

Philippe