Content The one true JavaScript exception handler. ;) try something catch(e) window.location.href "http:stackoverflow.comsearch?qjs " e.message;