Firebug is an extension for Firefox, but what happens when you need to test your pages in Internet Explorer, Opera, and Safari?
The solution is Firebug Lite, a JavaScript file you can insert into your pages to simulate some Firebug features in browsers that are not named "Firefox".
Firebug Lite creates the variable "firebug" and doesn't affect or interfere with HTML elements that aren't created by itself.
Insert this line of code into any page that you want to contain Firebug lite:
<script type='text/javascript'
src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'>
</script>
Drag the following link to your bookmark toolbar and use Firebug Lite on any page:
FirebugLite
<script type="text/javascript">Also, developers can use their own css file;
firebug.env.height = 500;
</script>
<script type="text/javascript">
firebug.env.css = "/myown/firebug.css"
</script>
Download the source
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.
<script language="javascript" type="text/javascript"
src="/path/to/firebug/firebug-lite.js"></script>
|
My Blog Title
|