The instruction on our page isn't clear enough. Maybe I should rewrite it
again.

You need to extract the contents of this compressed file:
https://getfirebug.com/releases/lite/latest/firebug-lite.tar.tgz

Then you should link to the file located at <directory where you extracted
firebug>/build/firebug-lite.js

When you load Firebug Lite locally it will try to locate the "skin" file
under the <directory where you extracted firebug>.

So it will try to load
<directory where you extracted firebug>/skin/xp/firebug.html

Which is the default skin.

When loading it externally using a link or bookmarklet pointing to
getfirebug.com, it will not use a skin file due to cross-domain
restrictions. For this case, it will open the iframe with "about:blank"
source, and then inject the HTML and CSS using JavaScript.

Try extracting the whole tar.tgz file into a directory, and then link to
<directory where you extracted firebug>/build/firebug-lite.js

You can use both relative and absolute URLs for that.

Let me know if it works,

regards,

Pedro Simonetti.


2011/5/4 Weston C <[email protected]>

> I'm having some trouble getting Firebug Lite to work "locally" -- and
> I don't mean using the "file:///" protocol (as is covered in the FAQ
> on the Wiki), but apparently with any http-served setups where the
> invoking <script> tag's src attribute is not "https://getfirebug.com/
> firebug-lite.js".
>
> For example:
>
>    http://weston.canncentral.org/web_lab/FBL/testfbl-local.html
>
> The 'firebug-lite.js' invoked is stored in the same directory as the
> html file, and was pulled from the 1.3.2 tarball. As far as I can
> tell, I'm invoking it as described on the installation instructions.
> What seems to be happening is that script is attempting to create an
> iframe with the src set to "../skin/xp/firebug.html", and there is no
> such file. No Firebug logo appears in the lower right hand corner.
>
> By contrast:
>
>    http://weston.canncentral.org/web_lab/FBL/testfbl-remote.html
>
> The invoking script tag pulls directly from getfirebug.com. The iframe
> src appears to be set to 'about: blank'. Things work.
>
> This seems to be the case on IE6/win and a recent version of Chrome
> (11?) on the Mac, so I don't think this is a browser/OS thing.
>
> I can't really see any difference in the invocation other than
> 'https://getfirebug.com/' preceeding 'firebug-lite.js' in the second
> example, and it's hard for me to imagine that really makes the
> difference.
>
> What am I missing here?
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Firebug" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/firebug?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to