Hi Boris, Again i need yours help
I have implemented nsIHelperAppLauncher and nsIHelperAppLauncherDialog but i am not getting any callbacks of any of functions of these interfaces when i click on a link pointing to a unknown content like .zip file. Boris Zbarsky wrote: > > dev_india wrote: >> I have implemented nsIURIContentListener interface. > > OK. That's not the interface I thought you were going to implement, but > whatever. > >> Now when I click on a link pointing to a normal page i.e. html, htm etc. >> I >> got OnStartURIOpen callback and when I click on a link pointing to a .zip >> file I got two callbacks i.e. OnStartURIOpen and IsPreferred. > > Depending on how you registered your URI listener, sounds right. > >> I am not getting any other callbacks like CanHandleContent, DoContent >> etc. >> so how can I got that my browser doesn't supports .zip file and I need to >> ask to save file locally? > > From the earlier mail in this thread: > > >> Is nsIHelperAppLauncher and nsIHelperAppLauncherDialog interfaces are > >> correct one to use here? > > >Yes. > > -Boris > _______________________________________________ > dev-embedding mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-embedding > > -- View this message in context: http://www.nabble.com/How-can-I-get-information-about-a-URI-being-opened--tp21804938p21873051.html Sent from the Mozilla - Embedding mailing list archive at Nabble.com. _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
