Created
October 15, 2014 05:51
-
-
Save jonmaim/0729e81358189791ec91 to your computer and use it in GitHub Desktop.
Hijack console.log
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
var c = console; | |
console = { | |
log : function() { | |
var args = Array.prototype.slice.apply(arguments); | |
setTimeout(function() { | |
c.log.apply(c, args); | |
}, 5000); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment