Created
February 13, 2014 23:48
-
-
Save isakb/8986431 to your computer and use it in GitHub Desktop.
Console override, doge_js style. For Chrome and Firebug.
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
| <script> | |
| (function(){ | |
| console.log('%c very console', | |
| 'color: blue; font-size: 24px; font-family: "Comic Sans MS"'); | |
| console.log('%c such script', | |
| 'color: green; font-size: 18px; font-family: "Comic Sans MS"'); | |
| Object.defineProperty(console, '_commandLineAPI', { | |
| get: function () { | |
| throw "amaze"; | |
| } | |
| }); | |
| })(); | |
| </script> | |
| <h1>Hello. Check your console.</h1> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment