On 4/6/07, Michael R <[EMAIL PROTECTED]> wrote: > Thanks Nickolay , > Showing UI is acceptable for me , I just don't want to spend time on the > rendering of the HTML data. > For example, waiting for all the images to download is not acceptable for > me. > > Can you please elaborate about the hidden frame technique ? > I can't, but you can borrow from the code linked here: http://developer.mozilla.org/en/docs/Parsing_HTML_From_Chrome
Nickolay > > Can you please elaborate on > "Nickolay Ponomarev" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > On 4/5/07, Christian Biesinger <[EMAIL PROTECTED]> wrote: > >> Michael R wrote: > >> > I would like to use Mozilla framework to load HTML from the web and > >> > then > >> > parse it to construct DOM. > >> > I tried to use nsIWebBrowser but it seems to be very coupled with UI. > >> > How can I disable UI part ? > >> > >> Why not just use nsIDOMParser? > >> > > Because it cannot parse HTML tag soup? > > > > The commonly suggested technique is to use a hidden frame to load the > > page, but I'm not sure it's possible without showing any UI. > > > > Nickolay > > > _______________________________________________ > dev-tech-xpcom mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-tech-xpcom > _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
