Create a function with a name jsexit or jsabort
and have this as its code
instead of the error string which i have given you can give any string you want. This is really working well for me.
Otherwise every thing is perfect i believe. In other browsers this will not appear. If you have enabled error reporting add-on for firefox then it would show a graphic notification. that too is not at all a problem.
I would like to have comments, suggestion and objections about this because i would like to know what people think about this.