Use the following line to keep the browser or console from warning the user of your program errors.
window.onerror = function( ) { return true; }
That’s it! 🙂
Use the following line to keep the browser or console from warning the user of your program errors.
window.onerror = function( ) { return true; }
That’s it! 🙂
Comments are closed.
It’s the single best javascript tip I’ve found with regards to end user experiences….lol… Thanks for sharing!
Ya, it is. JavaScript errors would simply defame a website in trust and competence to serve.