On Oct 3, 1:56 pm, "Janne Timmerbacka" <[EMAIL PROTECTED]> wrote: > Hi > > I need to transfer few lines of text from the browser into a local app > when user clicks a link or a button in embedded gecko browser. There > should not be any interaction required from user. Simply when user clicks > a button, then something happens in a local application. > > What options do I have? > > A) Download file > My first idea was to download a file that contains the needed information. > How can I do that silently without any confirmations from user? The > ActiveX component has an OnDownloadComplete event that can perhaps be used. > > B) Special web page > As a plan B I tought of a special web page that contains the needed > information. I might be usefull anyway because the end user might use the > web application in another computer where the browser is not embedded. > When user clicks a button/link the browser could display a special page > that contains hidden needed information and explains user that this works > only when my embedding host application is installed. After my host app > has found needed information it can move on to another page > -how can I search a embedded browser web page for needed information? > > Thank you for your ideas and answers > Janne
I am very new myself, but I'm sure you will be able to attach an event listener to the document of the site you're viewing, and receive notifications of clicks. Then you'll just have to make sure it's the link/button you're looking for and do the actions in your application. This link isn't exactly what you need, but might be direction... https://developer.mozilla.org/en/Mozilla_Embedding_FAQ/How_do_I...#How_do_I_know_when_saving_is_done.2C_monitor_progress_etc..3F _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
