FirebugLitePlugin
FirebugLite javascript based debugger for IE, Opera, Safari and
FireFox
From
http://getfirebug.com/lite.html
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.
Screenshot
Usage
FirebugLitePlugin 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.
Set the 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
Set the COVER
variable via URL
COVER
may be set via its equivalent URL parameter:
cover
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:
https://mywiki.org/bin/edit/Sandbox/TestTopic1?t=123456789
Then set the
cover
URL parameter to the desired firebug template:
https://mywiki.org/bin/edit/Sandbox/TestTopic1?t=123456789;cover=firebug12
TODO
- 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.
Installation Instructions
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
configure
, then you can still install manually from the command-line. See
http://foswiki.org/Support/ManuallyInstallingExtensions for more help.
Plugin Info
Many thanks to the following sponsors for supporting this work:
- Acknowledge any sponsors here
Related Topics: Plugins,
DeveloperDocumentationCategory,
AdminDocumentationCategory,
DefaultPreferences,
SitePreferences