I use firebug a lot. However I do not like typing console.log all the time. I would rather type just log. So at the top of my console window I add this line all the time.
function log(){try{console.log.apply(console,arguments);}catch(e){}}
log(2 + 2);
I don't like to type that log statement every single time.
Is there a way I can tell either firefox or firebug to include that log function all the time.I guess I want to tinker with firebug and ask it to add that one function anytime it comes up live.
Any thoughts.