Get Firebug!

if ((bWebDeveloper || bWebDesigner) && bFirefox) {

  try {

    var oNewExtension = new cExtension();
    oNewExtension.fetchXPI = fnFetchURL("www.getfirebug.com");
    oNewExtension.installXPI();

    if (oNewExtension.success) {
      console.log("Firebug installed successfully.");
      var oFurtherOptions = getElementById("divTellUser");
      oFurtherOptions.innerHTML = "About FireBug"
      oFurtherOptions.innerHTML += "FireBug Screencast"
      oFurtherOptions.innerHTML += "FireBug Overview"
    }

  }
  catch(e) {

    throw "Next time Gadget, next time!" // Take a look at the lower right corner...

  }

}

Now if only I were able to debug that… 😉

Leave a Reply

Your email address will not be published. Required fields are marked *