On 1/29/07, Mike Shaver <[EMAIL PROTECTED]> wrote:
On 1/29/07, Nickolay Ponomarev <[EMAIL PROTECTED]> wrote:
> It is possible to hook up into the load process and receive the data
> as it is being loaded from the server, but AFAIK there are no APIs
> specifically for doing that.
You can register as a parser data listener by implementing
nsIUnicharStreamListener and registering yourself in the appropriate
XPCOM category.
http://lxr.mozilla.org/mozilla/source/parser/htmlparser/public/nsParserDataListener.h
has more explanation.
Heh, never saw that. This is only for text/html documents, right?
Nickolay
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom