Last active
December 29, 2015 01:59
-
-
Save stekhn/7597457 to your computer and use it in GitHub Desktop.
Suppresses alle JavaScript errors. Don't try this at home.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function hideErrors() { | |
window.onerror = function () { | |
return true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment