Hi

It was a very valuable reply and this is what I was looking for . I will
implement the steps given by you and get back for any further help.

Your help is very much required for me .

yshln

On Fri, May 18, 2012 at 2:28 PM, Jan Honza Odvarko <[email protected]>wrote:

> I don't see the overlay.js being used anywhere, but the ff.xul overlay
> (for browser.xul)
> is working for me, I can see the iframe (even if the content is not
> there since http://localhost:8080/dd.html
> is not valid on my machine, of course)
>
> So, I gather that you want to put that iframe (src=http://localhost:
> 8080/dd.html) directly
> into the page. If yes, I would suggest following:
>
> 1) You still need the browser.xul overlay, that's the entry point of
> your extension
> 2) The overlay should listen for tab open (and perhaps close) events
>  - see this page:
> https://developer.mozilla.org/en/XUL_School/Intercepting_Page_Loads
> 3) Every time a new tab is opened, you want to get a reference to the
> inner document
> 4) You can check whether it's actually an HTML page (could be XML,
> SVG, etc.) or
> if it's a page that you want to modify
> 5) Finally use DOM API such as appendChild() to append whatever you
> need to the document
> e.g. document.body.appendChild(document.createElement("iframe"));
>
> Honza
>
>
>
> On May 18, 9:22 am, ysh ln <[email protected]> wrote:
> > Hi,
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > >>  For getting a clear picture on what the requirement is , i am
> attaching
> > >> the screenshots and XPI file that i have developed  which displays an
> > >> applet .
> > >>  The details are as follows:
> >
> > >> 1. Screenshot 1 : The output that is shown in screenshot is got by
> using
> > >> the <window> tag in the XUL file.
> >
> > >> <window id="example-window"
> > >>        title="Example 2.6.2"
> > >>        xmlns:html="http://www.w3.org/1999/xhtml";
> > >>        xmlns="
> > >>http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul
> > >> ">
> > >>   <html:iframe src="http://localhost:8080/dd.html";
> marginheight="0.5px">
> > >>       </html:iframe>
> > >> </window>
> >
> > >> The output that is got by installing the XPI file in attachment is
> shown
> > >> in
> > >> screenshot1.
> >
> > >> 2. Screenshot2 : This was another approach to requirement in getting
> the
> > >> applet displayed as a part of DOM.. i modified the firebug code by
> > >>  integrating the <iframe> in existing code of mozilla.
> >
> > >> So my requirement is that my extension should be the same way as it is
> > >> seen
> > >> in Screenshot2. This is a part of DOM .
> >
> > >>  But the problem here is I want my applet to be
> > >>  visible irrespective of the pages i visit and there
> > >> by my applet should become part of DOM.
> >
> > >> Please see it by installing the XPI file and your help would be very
> much
> > >> required and appreciated.
> >
> > >>  On Fri, May 18, 2012 at 11:46 AM, ysh ln <[email protected]>
> wrote:
> >
> > >> > ---------- Forwarded message ----------
> > >> > From: Jan Honza Odvarko <[email protected]>
> > >> > Date: Fri, May 18, 2012 at 11:29 AM
> > >> > Subject: [firebug] Re: Extension Development to become part of DOM
> > >> > To: Firebug <[email protected]>
> >
> > >> > I am still puzzled by what do you want to do...
> >
> > >> > Is the source code of the extension available online so,
> > >> > I can take a look at it?
> >
> > >> > Honza
> >
> > >> > On May 17, 5:37 pm, ysh ln <[email protected]> wrote:
> > >> > > Yes I strongly agree to your point .
> >
> >
> >
> >  scrnsht1.png
> > 374KViewDownload
> >
> >  scrnsht2.png
> > 263KViewDownload
> >
> >  appletloader.xpi
> > 2KViewDownload
>
> --
> 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