Hi Eric,

2010/3/2 Eric Dorman <[email protected]>:
> What I am talking about is where do I go to add my extension code in
> Firebug Lite after I have made it?
>
> I tried what you suggested with the <script> tag and it didn't work.

Yes, they aren't working because I haven't implemented
those features yet.

Firebug Lite itself uses a modular architecture, which means
that the application is a collection of modules (plugins). All files
you see in the content/firebug directory (except from lib.js)
are a kind of plugin.

What is missing is a way to load plugins *after* the application
is loaded (and other advance loading features as I described).

But, in order to test your extension, you can load your code
into Firebug Lite running the development mode.

> Is their another way to add code into Firebug Lite?

I added a helloWorld.js extension example (taken from
Honza's tutorial) in the content/firebug directory to
illustrate how to develop an extension:

http://fbug.googlecode.com/svn/lite/branches/firebug1.3/content/firebug/helloWorld.js

Please checkout the latest code (or update if you already
checked):

http://fbug.googlecode.com/svn/lite/branches/firebug1.3/

Next, uncomment the following line from firebug.dev.js
(located at line 79):

//"firebug/helloWorld.js",

That way, you'll load the helloWorld "plugin" when running
the application in development mode.

Please note that the loading process may be different in
the future, but the source code of your extension will be
basically the same. So, you can use the development mode
to develop and test your extension while the final loading
mechanism isn't finished yet.

If you have any other doubts feel free to ask and I'll be
glad to help you.

regards,

Pedro Simonetti.

>
> Maybe I could try to copy the code from firebug-lite.js file,then add
> my code into it somehow and see if I get any luck.
>
>
>
> On Mar 2, 11:28 am, Pedro Simonetti Garcia <[email protected]>
> wrote:
>> Hi Eric,
>>
>> The Firebug Lite extension system is under development, so
>> things may change in the final release.
>>
>> The extension installation process will be similar to the way
>> you install Firebug Lite on your page, and the most simple
>> one is including a <script> tag pointing to extension's file,
>> as described at:
>>
>> http://getfirebug.com/releases/lite/beta/#Install
>>
>> I'm planning to add a few additional ways to install a
>> Firebug Lite extension, and any feedback on the subject
>> is welcome.
>>
>> For example, I was thinking adding a new custom attribute
>> to the Firebug Lite <script> tag, indicating what extension's
>> should be loaded, as:
>>
>> <script type="text/javascript"
>> src="https://getfirebug.com/releases/lite/beta/firebug.jgz";
>> extension="extension_id_or_url,another_extension_id_or_url"></script>
>>
>> When you load Firebug Lite via bookmarlet, you can't change
>> the <script> tag attributes, so there must be a way to customize
>> the bookmarlet to load the extension, or an option to load the
>> extension via User Interface (using the Firebug icon menu).
>>
>> I'll create a wiki page with more info about Firebug Lite extension
>> development when I get a change, and I'll post a message here
>> when it's done.
>>
>> regards,
>>
>> Pedro Simonetti.
>>
>> 2010/3/1 Eric Dorman <[email protected]>:
>>
>>
>>
>> > Hey John,
>>
>> > Yes I met Firebug Lite and I apologize that I didn't mention that in
>> > the recent post.
>>
>> > Then if you don't know how to do it then do you know who would?
>>
>> > Thanks for replying so quickly.
>>
>> > Thanks & God Bless,
>> > Eric Dorman
>>
>> > On Mar 1, 7:23 pm, John J Barton <[email protected]> wrote:
>> >> On Mar 1, 3:58 pm, Eric Dorman <[email protected]> wrote:
>>
>> >> > Hey guys,
>>
>> >> > How do you install your extension once you have made one?
>>
>> >> For now a Firebug extension is a Firefox extension. So you create and
>> >> install them like Firefox extensions.
>>
>> >> Unless you are talking about Firebug Lite. Then I don't know.
>>
>> >> jjb
>>
>> >> > Thanks & God Bless,
>> >> > Eric Dorman
>>
>> > --
>> > 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 
>> > athttp://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.
>
>

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