As I understand is that you want to access the page's contents from your 
extension. 
https://developer.mozilla.org/en/Code_snippets/Tabbed_browserdescribes how you 
can do this.

Sebastian

On Thursday, May 17, 2012 5:37:20 PM UTC+2, ysh ln wrote:
>
> Yes I strongly agree to your point . The information provided was useful 
> for me but what I am trying to do now is " to build a firefox extension to 
> display applet in web page. This was achieved by me using WINDOW tag , in 
> xul file which is part of extension.     
>
> The below code snippet is the xul file of the extension I wrote to load an 
> applet and be persistent. 
>
> <window> 
> ........................
>
>  <html:*iframe* src="http://localhost:8080/gh.html"; marginheight="0.5px">
>        </html:*iframe*>
> ..........................
>
> </window>
>
> Is there any other way to achieve the same with out using WINDOW tag ( as 
> <window> tag is not part of DOM ) ??  
> As  I am new to this please help me out in this regard .  
>
>
> On Thu, May 17, 2012 at 8:28 PM, Jan Honza Odvarko 
> <[email protected]<[email protected]>
> > wrote:
>
>> On May 17, 4:51 pm, ysh ln <[email protected]> wrote:
>> > Yes  , what I have done is " I wanted to load my applet into the firefox
>> > home page . To do that i wanted the code of Mozilla Firefox that i got 
>> from
>> > Firebug
>> > I integrated the applet code in the available firefox page code using
>> > firebug
>> > Can you please tell me if there is anyway that i could make my changes
>> > persistent even after i reload the page ?
>> You can't change a page (e.g. modify its DOM) and expect that these
>> changes are there after you reload the page.
>> If you want to make your changes persistent you need to modify the
>> server side that is responsible for generating the page.
>>
>> Honza
>>
>> > The extension that shows applet in web page should be a part of DOM ,
>> > meaning that it should not be a separate window (window tag).
>> >
>> > Ysh
>> >
>> > On Thu, May 17, 2012 at 8:02 PM, Jan Honza Odvarko <[email protected]
>> >wrote:
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > Ah, I see. So, do you want to expose your extension to content (web
>> > > pages)
>> > > in the similar way how e.g. Firebug is exposing the "console" object?
>> > > Honza
>> >
>> > > On May 17, 4:25 pm, ysh ln <[email protected]> wrote:
>> > > > Hello Jan,
>> >
>> > > > I mean to say that my extension should become part of DOM, to be 
>> more
>> > > clear
>> > > > firebug becomes part of DOM right. Something like that I am looking 
>> for .
>> >
>> > > > Thanks
>> > > > Ysh
>> >
>> > > > On Thu, May 17, 2012 at 5:18 PM, Jan Honza Odvarko <
>> [email protected]
>> > > >wrote:
>> >
>> > > > > I am not sure if I understand the question.
>> > > > > Also note that this is Firebug related group...
>> >
>> > > > > Honza
>> >
>> > > > > On May 17, 7:43 am, ysh ln <[email protected]> wrote:
>> > > > > > Hi ,
>> > > > > > I have written an extension which will load an applet into web 
>> page.
>> > > > > > But I want this extension to become a part of DOM. How can i 
>> achieve
>> > > > > > that ?  My main purpose of doing this is , to make my extension
>> > > > > > visible on all pages which i visit . Please help me ! Its very 
>> much
>> > > > > > required .
>> >
>> > > > > > Thanks
>> >
>> > > > > --
>> > > > > 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
>> > > > >https://groups.google.com/forum/#!forum/firebug
>> >
>> > > --
>> > > 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
>> > >https://groups.google.com/forum/#!forum/firebug
>>
>> --
>> 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
>> https://groups.google.com/forum/#!forum/firebug
>>
>
>

-- 
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
https://groups.google.com/forum/#!forum/firebug

Reply via email to