Skip to content

Instantly share code, notes, and snippets.

@jcubic
Created September 15, 2012 21:17
Show Gist options
  • Select an option

  • Save jcubic/3729817 to your computer and use it in GitHub Desktop.

Select an option

Save jcubic/3729817 to your computer and use it in GitHub Desktop.
Restore functions from console
c=console;for(var i in c.__proto__){(function(i){c[i]=function(){c.__proto__[i].apply(c,[].slice.call(arguments));};})(i);}
@jcubic
Copy link
Copy Markdown
Author

jcubic commented Sep 15, 2012

tested on Google chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment