Firebug is an extension for Firefox, but what happens when you need to test your pages in Internet Explorer, Opera, and Safari?
Firebug Lite creates the variable "firebug" and doesn't affect or interfere with HTML elements that aren't created by itself.
makes it easy to add Firebug Lite to your Foswiki by providing some skin templates. They are:
- firebug12 - Firebug Lite 1.2, the current stable version
- firebug13 - Firebug Lite 1.3, currently considered alpha - experimental. It provides improved IE 8 compatibility (broken on other IEs at the moment).
There are a couple of ways to activate these templates.
COVER variable to include a firebug template
* Set COVER = firebug12
Where to set it:
- Your user topic (firebug is enabled just for you)
- In a topic you're debugging (enabled just for that topic)
- In WebPreferences (enabled for an entire web)
- In Main.SitePreferences (enabled for the entire wiki)
For more information, please refer to Activating Skins
COVER variable via URL
may be set via its equivalent URL parameter:
This is useful for ad-hoc, one-off testing. For example, to enable firebug in edit mode, first obtain the normal edit URL which might look like this:
Then set the
URL parameter to the desired firebug template:
- Presently, Firebug Lite 1.2 breaks in some versions of IE when using the minified JS. As a result, all templates will load the uncompressed/unminified versions.
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.
Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".
If you have any problems, or if the extension isn't available in
, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions
for more help.
Many thanks to the following sponsors for supporting this work:
Related Topics: Plugins
- Acknowledge any sponsors here