I've been reading through a lot about XPCOM and I think I have figured out what to do. Thanks a lot!
Vonuyx
Gangadhar NPK wrote:
Using XPCOM, one can attach listeners to various events in a browser IIRC nsIWebProgressListener and such events. Once you are subscriber to an event, you will be notified about that event. On obtaining the notification you can proceed with your application.
I think the xpcom-book (http://www.mozilla.org/projects/xpcom/book/cxc/) has a simple code for soemthing similar. Please check up if it can help you.
hth
Gangadhar
vonuyx wrote:
Thanks again for your help.
What I am trying to do is not to embed, but to create an extension for Firefox. I suppose there is some difference between two things. Would you (or anyone else) tell me where I can find some sample source codes fro this?
Thanks a lot
Vonuyx
Doug Turner wrote:
vonuyx wrote:
Hello,
I want to create a component (suppose an XPCOM one) that can be 'attached' to each Firefox browser window and be informed every time the user browses to a new page. I also want to get the address of these pages as well. In IE it can be done by implementing the IWebBrowser interface to create a so-called BHO. Any one has any idee of how to do this in Firefox?
Thankyou very much in advance!
Start here: http://www.mozilla.org/projects/xpcom/
When you understand the gist of XPCOM, take a look at:
http://www.mozilla.org/projects/embedding/ http://www.mozilla.org/projects/embedding/embedapiref/embedapiTOC.html
Hope this helps, Doug
_______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
