Is it possible to extend the console object?
I tried something like:
Console.prototype.log = function(msg){ Console.prototype.log.call(msg);
Try following:
(function() { var exLog = console.log; console.log = function(msg) { exLog.apply(this, arguments); alert(msg); } })()