You are here: Home arrow Web Design arrow Firebug for IE,Safari,Chrome & Opera
Firebug for IE,Safari,Chrome & Opera PDF Print E-mail
Written by Administrator   
Monday, 19 October 2009
Tag it:
Delicious
Furl it!
Spurl
NewsVine
Reddit
YahooMyWeb
Technorati
Digg
Dotnet Kicks

Firebug is certainly one of the main assets for web development available. I use it daily in the web development and I know that is the plugin of choice for many others. An undesirable side effect of Excellent Firebug is that other similar tools for other browsers pale in comparison and seem inferior. Troubleshooting design problems and issues of CSS in IE, for example, can be a lesson in futility.

This is where Firebug Lite steps in, which is a simple JavaScript library that recreates most of the main features of Firebug interface, bringing our debugger of choice for all other platforms. Fixing layouts and troubleshooting cross-browser issues became easy once again.

One of the greatest things about Firebug Lite is that you don’t need to download it or install anything in order to start using it; when you want to debug a page you’re working on in browsers that aren’t Firefox you can just include a script file whose SRC points to the online version:

<script type="text/javascript" src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js"></script>

To use Firebug Lite Offline:

Download source here

Import firebug-lite-compressed.js or firebug-lite.js into your site's directory. Find "firebug-lite.css" URL on the javascript file which you imported and replace this with offline address of firebug-lite.css file.

That’s it, when you run the page in any other browser, Firebug Lite will be present on the page. For off line use, the script file, as well as a CSS file, can be downloaded and should just be used like any other JS or CSS file. The following screenshot shows Firebug Lite in IE:



Firebug Lite Screenshot 1

Firebug Lite provides you with the same inspections capability that regular Firebug does. You can click the Inspect button and hover over sections of the page to view the computed style and DOM properties for the tag selected.

The Inspect button functionality does seem to have some issues, so another way to inspect elements is to navigate the HTML tree. To do that, click the + signs on the tree view to expand the HTML, and when you see the element you want to inspect, click on the line of code for it in the HTML. On the right side, you can view the computed style and the DOM (Document Object Model) properties for the element.

Firebug Lite also has the JavaScript console, which allows you to execute JavaScript. You can write one line at a time, or in the expanded view you can write many lines at once and then run the code.

Although you cannot edit the CSS for the highlighted element, Firebug Lite does provide a mechanism for editing CSS. It is somewhat of a “CSS console” for lack of a better term, where you can write your own CSS code and see what the results will look like.

Firebug Lite Screenshot 2

Of course, with a name like Firebug Lite you can’t expect it to have all of the features of Firebug. Unfortunately, it does not include any JavaScript debugging (I can’t even imagine how difficult it would be to write a JavaScript debugger in Javascript). Unfortunately, you’re still stuck with whatever JavaScript debugging tools you can find for your browser. It does at least provide you with the convenience of being able to easily view the code for script files that were loaded in the page.

Firebug Lite also lacks the layout features in regular Firebug, where it shows you the coordinates for the element being inspected, as well as the padding, border size, and margins.

All in all it is better to have Firebug Lite for other browsers than no Firebug at all. If you are trying to debug layout and viewing issues in other browsers, it is definitely a nice tool to try out.

Tag it:
Delicious
Furl it!
Spurl
NewsVine
Reddit
YahooMyWeb
Technorati
Digg
Dotnet Kicks

Comments
Add New Search
  1. There is always the Web Inspector in Safari, which gives you a lot more than Firebug Lite. Including full JavaScript debugger and network/resource loading graphs.

    Some info can be foudn here: http://bit.ly/uW8uT
  2. good
  3. Opera comes built in with the DragonFly, that lets u do everything u need, and everything u do with firebug
  4. this is not working for me in all IE :(
  5. Viktor Dite,
    Do check whether javascript is enabled in your browser.If not enable it and try once again.
  6. oh sorry, i have to describe it a bit more:
    Firebug is starting, but causes an js error - so nothing is showed up in the firebug window
  7. Check out the dynaTrace AJAX Edition - http://ajax.dynatrace.com. It is a free performance analysis tool for IE 6, 7 and 8 - it analyses JavaScript, DOM access, XmlHttpRequests, Rendering Times and NEtwork traffic.
  8. Viktor Dite,
    I am not able to reproduce the scenario that you are getting in my environment. Can you gve me a bit more information so that we can solve the issue.Let me know the IE version you are using and if you are getting any error messages.

    Just for information the screenshots in the post were taken in IE8.
  9. Andreas Grabner,
    I will definitely check the tool mentioned. Thanks
  10. Thank you very match
    http://shvmnet.vashbusiness.com
Write comment
Name:
Email:
 
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Friday, 13 November 2009 )
 

Search

Translate