Hey Pedro, Yes, I would be glad to join your team.
No, you've done a great job helping me understand how Lite works. :) I think the best way for myself to learn how Firebug Lite adds features is to use the svn to show case my code of my extension and even maybe make it a default part of Firebug Lite. I am only really into programming cause I like Security and making sure devs go by good standards and not create ways for the bad guys to get in. I think it makes sense building my extension into Firebug Lite cause really and truly I don't want to reinvent another Firebug tool. :) Thanks for all of the help & God Bless, Eric Dorman On Mar 3, 5:58 pm, Pedro Simonetti Garcia <[email protected]> wrote: > Hi Eric, > > Sorry about the delay, today I worked out of office, and only > now I could read your email. > > 2010/3/2 Eric Dorman <[email protected]>: > > > Hey Pedro, > > > Okay I understand how to make an extension,but here is where I don't > > understand. > > > How do I get Firebug Lite to recognize my extension in the firebug > > Lite Development Mode? > > It's not your fault. I admit that we need a proper documentation for > developers get started with Firebug Lite. > > The "firebug.dev.js" is the "development module". This module is > responsible for loading all Firebug Lite modules (files), and for > providing a few handy features to make the development easier. > > http://fbug.googlecode.com/svn/lite/branches/firebug1.3/content/fireb... > > If you look at this file, you'll notice in the beginning of the file a list of > modules that should be loaded in the "development mode". The > modules will be loaded in the same order as specified in this file. > Here is the complete list of modules: > > window.FBDev = > { > // > *************************************************************************** > ***************** > modules: > [ > // > *************************************************************************** > ************* > // Application Core > > "firebug/lib.js", > > "firebug/firebug.js", > > "firebug/gui.js", > "firebug/context.js", > "firebug/chrome.js", > "firebug/chrome.injected2.js", > > // > *************************************************************************** > ************* > // Application Classes > > "firebug/selector.js", > > "firebug/domplate.js", > //"firebug/domplate.optmized.loops.js", // not used yet > "firebug/reps2.js", > "firebug/reps.js", > > "firebug/editor.js", > "firebug/inspector.js", > > // > *************************************************************************** > ************* > // Console / CommandLine core > > //"firebug/console.js", > "firebug/console2.js", > "firebug/consoleInjector.js", > > "firebug/commandLine.js", > > // > *************************************************************************** > ************* > // XHR Watcher > > "firebug/xhr.js", > "firebug/net.js", > "firebug/spy.js", > > // > *************************************************************************** > ************* > // Application Modules/Panels > > "firebug/html.js", > //"firebug/insideOutBox.js", // experimental > //"firebug/lib/htmlLib.js", // experimental > //"firebug/html3.js", // experimental > //"firebug/html2.js", // experimental > > //"firebug/css.js", > //"firebug/infotip.js", // experimental > "firebug/css2.js", > > "firebug/script.js", > "firebug/dom.js", > > //"firebug/helloWorld.js", > > // > *************************************************************************** > ************* > // Trace Module/Panel > "firebug/trace.js", > "firebug/tracePanel.js", > > // > *************************************************************************** > ************* > // Test stuff > //"firebug/plugin.js", > //"firebug/test/firequery.js", > > // > *************************************************************************** > ************* > // Bootstrap > "firebug/boot.js" > ], > // > *************************************************************************** > ***************** > ... > > Note that there are a lot of modules that are commented (preceded with "//"). > Those modules will not be loaded unless you remove the comments. If you > add more files in this list, those files will be loaded too (you can > load any kind > of js file). The files uses relative path and are based in the > "content" directory > so "firebug/dom.js" will refer to the file located at > "content/firebug/dom.js". > > In a broader sense, you can see the "firebug.dev.js" module as a "js loader", > once this is its main behavior, that is, to load each Firebug Lite module as > a separated js file (because is a lot easier to read and write small js files, > as opposed to the 24k lines of code file, which is called the "build file", > the file that will be used in production). > > > Would it be alright if I helped you guys on building the code of > > Firebug Lite out? > > Sure. You are more than welcome helping us with Firebug Lite > code. I believe this is also a good way to you better understand > how Firebug Lite works internally. > > Let me know if you're willing to join our team, and we'll provide > you svn access to our repository. > > > Cause maybe that way I can show you guys my extension and have it > > loaded into the next version possibly. Cause I am now directing my > > plan to build an extension to help developers find security weaknesses > > in their code and help them validate where it is. > > Cool. I'll probably be able to give you better directions by > looking at your code. > > regards, > > Pedro Simonetti. > > > > > > > Anyways hope all's good with you. > > > Thanks for all of the help and God Bless, > > Eric Dorman > > > On Mar 2, 8:30 pm, Pedro Simonetti Garcia <[email protected]> > > wrote: > >> 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/fireb... > > >> 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" > > ... > > read more » -- 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.
