www/keyboard/window-onerror.js (1 lines of code) (raw):

window.onerror = function(err,fn,ln) {alert("ERROR:" + err + ", " + fn + ":" + ln);};