Skip to content

Instantly share code, notes, and snippets.

@stekhn
Last active December 29, 2015 01:59
Show Gist options
  • Save stekhn/7597457 to your computer and use it in GitHub Desktop.
Save stekhn/7597457 to your computer and use it in GitHub Desktop.
Suppresses alle JavaScript errors. Don't try this at home.
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