Hello,
As it's my first post, a few words about me : I work in France and have been asked to study how we could leverage on mozilla technologies to add features to a web application of ours. I'm very new to mozilla and Gecko technologies. I think I understand the basics of npapi, xul and xpcom, but I miss the 'big picture'. ( If you have good readings to suggest, please let me know J ) What I'd like to do is an installable binary program opening its own windows and displaying its own UI, that would interact with a web application and the operating system, and display parts of this application . My idea is to embed gecko areas in my application UI, and interact with it ( ie - call javascript methods in the pages ) when some particular events occur on the system for example when the screen blanker is triggered, or when the user interacts with the application GUI. As far as understand, I could use embedding api for the display and communication part , and a implement a plugin to make my web application communicate with the binary application. I suppose the same could be done with an extension .. Would you follow the plugin path ? Is there a better way ? I then tried the win32_test sample, and it works fine, except that I have problems with the chrome window that are triggered because the site I connect to is not signed by a valid certificate ( which is normal, as the web application is hosted on self signed servers ) : The chrome windows then pop ( wich I would like to avoid ), and actions on these windows don't work. I mean, if I click on 'accept the certificate for the duration of the session', it does nothing. Is there an initialization to do or a listener to implement so that this window works ? I think it should be possible to replace the component registered at chrome://pikki... with a 'dummy' one that would silently do what is done when a user choses 'accept'.. but as the original window doesn't make it , I'm not sure ... Is it the right path to go ? I would also like to retrieve authentication information from one of my windows and inject it into the http request, or set cookie values,.. but couldn't find a way ( yet ) to do that in the embedding api. What would you do ? Thanks in advance Philippe Torrelli _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding