Thanks for reply. Is there a way to set http listener so I'll get all the sources synchronously with browser? I know it's not the best idea...I'll have to check a lot, including target DOM document the content will be rendered at, content type, maybe origin of the request (user navigation vs for example in-page image) etc. Some hints will be highly appreciated.
TIA, -Dmitri. "Boris Zbarsky" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Dmitry Dartz wrote: >> Is it possible to get page source as a text string without popups or >> whatever, at least without any visual changes? > > Not easily... The simplest solution may be to load the source in a hidden > iframe the same way the view-source window does it and then get the > .textContent of the resulting document. > >> Does mozilla borwser stores it in text form at all or I have to re-load >> page to get it source? > > It's stored in the cache... that's the only place it's stored. > > -Boris > _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
