Test for Firebug console command

/ Published in: JavaScript
Save to your folder(s)

prevent errors in other browsers

Copy this code and paste it in your HTML
  1. if(window.console){
  2. console.log("your Firebug output");
  3. }

URL: http://michaelsync.net/2007/09/09/firebug-tutorial-logging-profiling-and-commandline-part-i

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.