Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.
« Yahoo YUI wins JavaScript Library Wars
The Problem with Markup Languages »

Firefox Extensions for Web Developers

March 8th, 2007

I prefer Safari for my casual web browsing on the Mac, but for web development, nothing beats Firefox. (Firefox beats IE hands down on Windows.) Firefox’s openness and the Firefox plugin architecture means that there is little that you cannot find out about a web page with a Firefox add-on. I’ve tried a bunch of different Firefox extensions for web development. Here are the ones that I find most useful and that I use on a regular basis.

DOM Inspector

Yes, yes, it comes installed with Firefox, but lets not forget the basics. The DOM Inspector allows you to see what is actually going on in your web document. The DOM Inspector lets you browse DOM nodes, style sheets, or Java Script objects. You select a node by either drilling down, by searching, or by clicking on it. Although, the UI for selecting a node with your mouse is just plain lousy. Once you’ve chosen your subject, the DOM inspector can show you the box model information for that node, the style sheets associated with the node, the computed CSS styles, or the Javascript object.

Web Developer Extension

Chris Pederick’s Web developer extension has been out for a long time and is the plugin I am most familiar with. This is really the swiss army knife of web developer tools. It is so feature packed that I am still finding new things that it does. Unfortunately, the UI is also so cluttered that I am still finding new things that it does.

This add-on can slice and dice a web page every which way. It can outline a variety DOM elements, for example drawing an outline around all block elements on a page. This can be nice for lining things up. The Display Line Guides option is also a good way to verify alignment, not to mention Display Ruler, or Display Page Magnifier for fine detail.

This extension has dozens of reports, each one geared toward diagnosing a particular kind of problem. Some of them are external, such as sending your URL to a validation service. Some are internal, such as showing a dump of all of the page’s active cookies. Unfortunately, many of these option open up in a new tab, taking the focus off of the page that you are trying to work with. It can be hard to tell which options do this. There is an option for having the tabs open in the background, but this is not the default.

The View Style Information option is particularly nice. You can point to any element on the page and the extension will display the element tree along with ids and classes. If you click on an element, it will display only the style rules that apply to that element. This beats the drill down approach in the DOM inspector, although it doesn’t show box model information or computed style information this way.

The web developer extension can change things as well as inspect them. You can go into a mode where you can edit your CSS or HTML in real time for immediate feedback. This is great for testing out small changes. For the PHP developer, the extension has a variety of options for manipulating cookies and forms. There are also a variety of ways to enable or disable certain elements on the page.

Install Web Developer Extension

Tamper Data

Tamper Data is live HTTP headers on steroids. Tamper data records the HTTP request headers and HTTP response headers for each request that the browser makes. Not only that, It allows you to “tamper” with the requests before they are sent out, editing headers or form values behind the scenes. Tamper data can present a graph of the requests involved with loading a web page. Tamper data is great for security testing and page loading performance tuning.

Install Tamper Data Extension

FireBug

FireBug, ah what can I say but wow! According to their web site:

Firebug integrates with Firefox to put a wealth of development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.

Firebug has considerable overlap with the extensions I’ve mentioned so far. It doesn’t necessarily duplicate all of their functions, but the ones it does, it does really well. It goes way beyond in some cases. There is really no point in me talking about Firebug’s features, because the website already does such a good job at it. They’ve impressed this jaded old developer.

If you haven’t tried this one yet, seriously, go get it right now.

Install FireBug Extension

ColorZilla

ColorZilla adds a small eyedropper tool to the bottom left corner of the window. You can use this tool to inspect colors on the current web site. Double clicking it brings up a color picker and some other color related tools.

Install ColorZilla Extension

Multiple Profiles

Ok, I lied. There are a few situations where I use FireFox for casual browsing. Some web sites just won’t work with Safari, or don’t work well with Safari. For these, I pull up Firefox. I don’t want my casual browsing tools to clutter up my web development experience and I don’t want my web development tools to clutter up my casual browsing experience. The solution is to create multiple profiles in FireFox. I have one for web development and another for normal surfing. I have safari ask me to select a profile on start up. This extra step would be annoying for a primary browser, but it doesn’t seem too bad for a secondary browser.

Setting up my Mac series

Firefox is not mac specific, but this is actually the latest installment in my setting up my Mac series.

  1. How to Transfer Mac OS X Application Data between Computers
  2. Free Software for Mac OS X
  3. FireFox Extensions for Web Developers
  4. UPCOMING: Configuring Boot Camp and Parallels

Filed Under

  • Mac, Open Source, Web Design

Related Posts

  • Whats on my Mac
  • Knocked off the internet, a story of Windows and Macintosh
  • Why is PHP Code Considered Hard to Maintain?
  • PHP as a Deployment Platform
  • Zend PHP Framework not a rumor
You can leave a response, or trackback from your own site.

25 Responses to “Firefox Extensions for Web Developers”

  1. John says:
    3/8/2007 at 6:27 am

    Thank you for the list, there are some new ones in there which I have not heard of before which I must investigate. I’d also like to reconmend Sage the news feed reader:

    http://sage.mozdev.org/

    I am developing a news feed generating module for a web framework which I am working on, which can generate the same feed in RSS, RSS 2.0 or Atom format, so having Sage installed is proving to be invaluable while testing because it supports all of these formats, and it also has a nice clean interface.

  2. Ren says:
    3/8/2007 at 7:10 am

    I’ve found most of the web developer firefox extensions quite poor, incomparison to their IE equivalents.

    HttpWatch instead of Tamper Data.

    Microsoft IE DOM Explorer provides most of DOM Inspector, Web Developer Extension, and ColorZilla.

    Microsoft Script Editor, a full (java)script editor & debugger.

  3. Larry Kagan says:
    3/8/2007 at 7:38 am

    Thanks for the list. ColorZilla is one that I’ve never heard of. It will probably save me some time. I’ve used all the others you mention for quite a while. I have to say, FireBug is by far the best. If you jumped on the Web 2.0 bandwagon like I have and develop RIAs, this is a must!

  4. pcdinh says:
    3/8/2007 at 8:17 am

    My addition: XPather, CSSViewer, Live Http Header and EditCSS. I find Microsoft Script Editor is poor

  5. Dougal Matthews says:
    3/8/2007 at 12:44 pm

    Thanks for the links,

    I’ve only ever really used firebug. I love it for my AJAX development.

    I’ll try all the others right now :)

    Thanks again
    Dougal

  6. Andy says:
    3/12/2007 at 7:13 am

    Hello, just wondering if you could help me out…

    I’m an amateur web designer and I’m looking for a particular php script but I’m not sure what category it’s under or what its called. I hope you are able to help me out!

    There is a main page containing the layout called index.php. There is a php code in the script in the area where pages can be embedded.

    Other pages are then embedded using the query string. For example, if I had a page of content called contact.php, I can embed contact.php in the main layout by typing http://www.blahblah.com/index.php?page=contact

    Do you recognize this script? I will appreciate your help very much. Thanks!

  7. Son Nguyen says:
    3/13/2007 at 9:25 am

    I also use Live HTTP Headers, User Agent Switcher in addition to WebDev, FireBug. Gotta love them!

  8. Douglas Clifton says:
    3/14/2007 at 1:06 pm

    I’ve been maintaining a similar list for over a year now. Many are also mentioned here and in the comments, but there are some others you might be interested in.

  9. Udi says:
    3/18/2007 at 1:00 pm

    Thx, you have discover me few tools i need.
    I use the web developer extension a week to two, and I’m very glad to have it. Very useful..

  10. Dale C says:
    5/30/2007 at 4:14 am

    Microsoft Script Editor, a full (java)script editor & debugger.

    You have got to be kidding.

  11. Nguyễn Tiến Sĩ says:
    8/6/2007 at 1:47 am

    CSSViewer, XML Developer, FireBug

  12. Fredrik Komstadius says:
    8/30/2007 at 5:53 am

    Firebug is an excellent tool I must say, going to try out ColorZilla too. Sounds like the plugin I have been waiting for forever. Yey, finally :)

    Blue – A Free Web Directory

  13. Cody says:
    9/17/2007 at 10:47 am

    Great list of extensions folks.

  14. Mitch says:
    11/24/2007 at 10:21 am

    I have safari ask me to select a profile on start up.

    I have been trying to find a way to use multiple profiles in Safari.
    Can you elaborate on how you do it?

    Thanks!

  15. Markus says:
    1/21/2008 at 12:23 pm

    In my opinion, firebug is nearly unbeatable. Everything the web-developer needs.

  16. Peter Nichol says:
    2/1/2009 at 10:44 am

    Why I use Firefox…

    The reasons why I use Firefox over Internet Explorer…

  17. Salman says:
    6/16/2009 at 11:31 pm

    I use Firebug and occasionally, Web Developer. Web developers using Firebug might find the two features very useful that are disabled by default:

    a) Net Panel: shows you the download time of the items on a page. It clearly shows you the requests sent by the browser (e.g. GET /images/watermark.png) and responses sent by servers (e.g. 302 Moved Temporarily), download time, processing time and so on. Bonus: It will also show you the requests made via ajax and the responses.

    b) Console: Javascript console, shows errors (syntax errors or otherwise) and allows you to evaluate code in real time (e.g. >>> googlemap1.getCenter( ); and >>> googlemap1.setCenter( new GLatLng( 10.1, 20.2 ) ); )

  18. Deitrich Zook says:
    9/16/2009 at 2:47 pm

    Thanks for the list of new tools.

  19. mark warne says:
    5/6/2010 at 3:23 am

    You truly said that Firefox is the best option in windows environment. It is very helpful to web developers .

  20. kevin says:
    5/30/2010 at 6:55 pm

    The firefox is very useful. thanks for your share

  21. Poser Props says:
    6/5/2010 at 2:25 pm

    Sweet , I can’t get enough from you guys and continue that great work that really inspires me to create.

  22. jessica says:
    6/7/2010 at 9:31 pm

    Thans for your share, i like firefox extension

  23. ViktorSemjonov23 says:
    6/8/2010 at 1:52 pm

    ?????? ??? ?????????????? ??????, ????????, ????????

  24. traffic geyser says:
    6/26/2010 at 6:21 pm

    Nice, exactly what I was looking for!

  25. efkklvgluy says:
    7/31/2010 at 2:10 am

    fbTWms dkbmgtsrkvkx, [url=http://keanvukjpeqj.com/]keanvukjpeqj[/url], [link=http://zlxmeaxmliel.com/]zlxmeaxmliel[/link], http://uaziwsxfwedm.com/

Leave a Reply

Click here to cancel reply.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

code: use [code=php][/code].

Comment Preview

    Subscribe Feed
    Share Subscribe to this blog…
    Share Bookmark or share this page…
  • About

    My name is Jeff Moore. I'm a PHP programmer living in San Francico and working for a startup.

    More about me…

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (17)
    • Open Source (14)
    • PHP (98)
    • Software Design (29)
    • Usability (14)
    • Web Design (20)
  • Recent Comments

    • Programming Language Trends via Google  19
      Craigslist pva, jessica, Scott [...]
    • Looking Towards the Cloud  35
      bentonville multiple listing, cosmetic dental, Sam Brodish [...]
    • PHP versus ASP  8
      Marhta Blight, Ravi, Ryan Brooks [...]
    • How to Transfer Mac OS X Application Data between Computers  59
      Website Migration, harry the computer support guy, Dotty Salvage [...]
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  157
      lehuuphuc, Robert Parthemer, Lingerie Intimate [...]
    • PHP Games  25
      jessica, Tennille Cranor at Chilli Plants, Lucas Ortell [...]
    • un-PEAR-ing  5
      jessica, Eugene Panin, Arnaud [...]
    • The Legality of Republishing RSS Feeds  23
      kevinxiao, Marissa Miscovich, Quick Student Loans [...]
    • Faster Page Loading  4
      jessica, angular cheilitis, Aaron Rosenfeld [...]
    • PDO versus MDB2  15
      jessica, kevinxiao, Gavin [...]
  • Recent Posts

    • ZendCon: Writing Maintainable PHP Code
    • Looking Towards the Cloud
    • Holiday Tech Support
    • Closures are coming to PHP
    • php | tek Wrapup
    • php | tek 2008
    • Sarah Snow Stever
    • Benchmarking PHP’s Magic Methods
    • The Endpoints of the Scale of Stupidity on Video
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)
  • Site

    • Archives
    • Log in
  • Search