TIP FirebugLitePlugin is not installed on Foswiki.org.

FirebugLitePlugin

FirebugLite javascript based debugger for IE, Opera, Safari and FireFox

Firebug web development

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

Firebug Lite in action on a Foswiki topic

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

  1. 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

Author: Foswiki:Main.SvenDowideit - SvenDowideit@wikiring.com - wikiringlogo20x20.png WikiRing.com
Copyright: see http://getfirebug.com/
License: GPL (Gnu General Public License) (Foswiki plugin) && Mozilla Public License 1.1 (the js and css)
Version: 5371 (2009-10-24)
Release: 24 Oct 2009
Change History:  
24 Oct 2009: Make FirebugLitePlugin activatable via templates instead of site-wide configure option. Added an early alpha release of Firebug Lite 1.3
20 Feb 2009: port to Foswiki
16 Dev 2008: update to firebug lite v1.2
Dependencies: None
Plugin Home: http://foswiki.org/Extensions/FirebugLitePlugin
Support: http://foswiki.org/Support/FirebugLitePlugin

Related Topics: Plugins, DeveloperDocumentationCategory, AdminDocumentationCategory, DefaultPreferences, SitePreferences

I Attachment Action Size Date Who Comment
FirebugLitePlugin.md5md5 FirebugLitePlugin.md5 manage 174 bytes 24 Oct 2009 - 06:05 PaulHarvey  
FirebugLitePlugin.sha1sha1 FirebugLitePlugin.sha1 manage 198 bytes 24 Oct 2009 - 06:05 PaulHarvey  
FirebugLitePlugin.tgztgz FirebugLitePlugin.tgz manage 601 K 24 Oct 2009 - 06:05 PaulHarvey  
FirebugLitePlugin.zipzip FirebugLitePlugin.zip manage 624 K 24 Oct 2009 - 06:04 PaulHarvey  
FirebugLitePlugin_installerEXT FirebugLitePlugin_installer manage 10 K 24 Oct 2009 - 06:05 PaulHarvey  
Topic revision: r4 - 09 Dec 2009, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy