Skip to content

Instantly share code, notes, and snippets.

@esctabcapslock
Last active March 16, 2022 04:29
Show Gist options
  • Save esctabcapslock/7bdef7c2276baa0d879ba76c32e35a73 to your computer and use it in GitHub Desktop.
Save esctabcapslock/7bdef7c2276baa0d879ba76c32e35a73 to your computer and use it in GitHub Desktop.
//https://stackoverflow.com/questions/7089443/restoring-console-log
var i = document.createElement('iframe');
i.style.display = 'none';
document.body.appendChild(i);
window.console = i.contentWindow.console;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment