Something like:
Code:
window.onerror = function handleError(sMessage, sUrl, sLine){
alert("An error has occured with this application. Please take a screen shot of\nthis error and email to the help desk\n\n" + "Description: " + sMessage + "\n\nURL: " + sUrl + "\n\nLine Number: " + sLine);
document.forms[0].action = ''
return true;
}
“The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
—Tim Berners-Lee, W3C Director and inventor of the World Wide Web
Bookmarks