Stop it from bothering the user with error warnings in JavaScript
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! ![]()