but then we could just ensure that this line gets called first
console.profile = console.profileEnd = function () {}; console.profile = console.profileEnd = function () {}; var c = console
var l = console.log
var log = function(){ l.apply(c, arguments) }
Now they can't break the console from working with stuff like: console.log = function(){} var _console = console;
console = undefined;