Is is possible to intercept browser messages such as:

Firefox:

> 
> A script on this page may be busy, or
>  it may have stopped responding. You
>  can stop the script now, open the
>  script in the debugger, or let the
>  script continue.
> 
> 
> 

I.E.

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

These messages are occuring due to the page having alot of javascript/jquery activity.

I appricate that the fact the these messages are appearing in the first place indicate a wider problem, but is there a way of intercerping this message/situation on the client side so that a more user friendly message can be shown?