Blog Post RSS ?

Blogs » JavaScript & CSS » FireBug - The King of Firefox Validators
 

FireBug - The King of Firefox Validators

by Alex Walker

Being 2006 and all, you would think it should be difficult to get excited about markup validation extensions for Firefox. Nevertheless, I have to say Joe Hewitt’s new offering Firebug has to be the most impressive new developer extension I’ve seen for a while (ok,ok,.. since IETab).

The Auto Validator:

Firebug in action

In its inactive mode Firebug’s auto-validator is completely invisible on valid pages, and displays a simple ‘error counter’ in your status bar on pages with errors. Definitely less is more. Clicking the counter folds out a feedback toolbar detailing each error.

Although the error description is certainly handy enough, the killer feature for me is the ability to click on an error location and have it instantly highlighted in the source — especially useful for subtle problems like a missing ‘;’ or an extra ‘,’ in CSS.

The best endorsement I can give for this tool is I’ve actually found myself fixing the little niggling validation problems simply because they’re just so effortless to identify now.

The Element Inspector:

Firebug' Element Inspector

Firebug’s Element Inspector is similar in many ways to Nicolas Moreau’s excellent ‘Inspect Element’ extension but slightly more elegant in operation. Activating it lets you highlight any visible page element with your cursor. Selecting an element plucks it to the toolbar below and gives you instant access to it’s HTML source, the CSS rules directly targetting it, a ‘box model’ view of the attributes effecting it, and a DOM-level view of the object — all without ever losing sight of the page you’re working on.

Very fast. Very slick.

As I said, not much that hasn’t been done before, but I doubt it’s ever been tied together so usefully. Check it out.

If you liked this blog, share the love:

  • Save to Del.icio.us

This post has 17 responses so far

  1. Firebug is really awesome! I tried it some days ago and really love it. It’s easy, fast and intuitive.

     
  2. Hmmmm I’ll have to try this but it sounds exactly like the HTML Validator extension I’ve been using in firefox for, oh god knowns how long.

     
  3. Oh sorry i see its for javascript, doh!

     
  4. Ryan, it does incorporate a fair bit of HTML Validator’s functionality and works perfectly well along side it. HTML Validator’s souped-up ‘view source’ is still the way to go, but Firebug brings a much broader range of data to your fingertips.

     
  5. Looks cool. :D

     
  6. Has anyone checked out google.com with it - theres 2 errors on the page and I cant figure out why they are being highlighted

     
  7. How though does it interact, and react with other supremely useful extensions like Chris Pederick’s Web Developer extension?

    Has anyone had any problems with using firebug and web developer?

     
  8. :( It only works with Firefox v1.5 or greater. Oh well, I’ll have to wait until Mozilla feels their ready to update v1.0.7 to the 1.5 versioning… This looked like a really cool extension too. I use WebDev and Tidy HTML Validator, but this would be yet another tool in the arsenal of learning.

     
  9. Sad thing is, our Opera guy found FireBug & was using it before me… I immediately went back to my desk & installed it. As to it messing with the other extensions it doesn’t seem to be causing any problems.

    My other extensions include - All-in-One Sidebar, Codetch (i’ve had some other issues with this 1), Colorzilla, Console^2, EditCSS, Greasemonkey, Html Validator, IE Tab & IE View, LinkChecker, Live HTTP Headers, MR Tech Local Install, NoScript, UrlParams, User Agent Switcher, View Rendered Source Chart, Web Developer, XHTML Mobile Profile, XPath Checker, & XPather.

    I’m hoping the “View formatted source (format source extension)” gets updated to 1.5 as I preferred that over the “View Rendered Source Chart”… I’m currently working on a Javascript app & the “View formatted source” let’s you see what javascript has modified & also iirc gives you a listing of all css affecting the element on mouseover.

     
  10. Looks very sweet - can’t wait to try it. Thanks for sharing.

     
  11. “Has anyone had any problems with using firebug and web developer?”

    I have both installed and haven’t had any problems.

    Installed this a couple minutes after reading this, love it. My boss loves it too.

     
  12. Just a nit-picky thing: It’s “Firefox” (first paragraph, main article).

     
  13. Just a nit-picky thing: It’s “Firefox” (first paragraph, main article).

    Fixed ;)

     
  14. […] Es geht mir nicht direkt um Bugs beim Feuer-Fuchs, sondern eher um eine neue Extension für eben jenen, die am 19 Januar das Licht der Download-Seiten erblicken durfte, nämlich FireBug. Auf diese neue Extension bin ich durch einen Blog-Eintrag bei Sitepoint gekommen, und mich persönlich überzeugt diese neue Erweiterung vollkommen. Und was bringt es einem jetzt, den Feuer-Fuchs mit einem Feuer-Wurm zu vereinen? […]

     
  15. Anyone know how to submit bug reports to Joe Hewitt?

     
  16. Chris — Try sending him email — his address is on Author Profile page on the Mozilla extensions site.

     
  17. […] With the release of FireBug 0.4, an excellent extension for analyzing JavaScript and CSS errors and XMLHttpRequest operations (AJAX) that we have covered before, Firefox now has a powerful, up-to-date debugger that you don’t need to hack to get working. […]

     

Sponsored Links

Leave a response

You are not logged in, log in with your SitePoint Forum username and password.

-OR- Post Anonymously

* Make sure any code samples are escaped (i.e. ‘<b>’ becomes ‘&lt;b&gt;’).

If not logged in, your comments will be placed in a moderation queue. This means your comment may not appear until one of our moderators approves it.

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.

Logo Design, Web page Design and more!

99designs

  • Custom logo designs created ‘just for you’.
  • Pick the design you like best.
  • Only pay if you’re satisfied with the result.

The Web Site Revenue Maximizer
The Ultimate HTML Reference

Book: The Ultimate HTML Reference

The most complete and up-to-date HTML Encyclopedia money can buy.

Free eBook! Firefox Revealed