browser - window.onerror does not catch all errors -
for reason able catch of console errors except "unsafe javascript attempt access frame url". know why error filtered?
my code:
window.onerror = function(message) { alert(message); return true; };
thanks ahead
possible duplicate:
i not sure if that's way detect same origin policy violations, since window.onerror
catches runtime js errors (see here).
for cross browser compatibility of error
event can check out: