Is there a way for a (Javascript) implementation of
nsIURIContentListener to be able to tell the 'target' of a particular
load? Basically I mean, which tab or window the content has been
requested in.

Currently I create and register an instance of nsIURIContentListener
to listen for content of type "text/vnd.wap.wml". When I recieve
content of this type, I transform it to HTML using XSLT - but then I
don't know where to send it. Currently I am taking
document.getElementById ("content").docShell and sending the document
there (I pick up the "content" element during the construction of the
ContentListener via an overlay), but this means that "Open in New
Window" and "Open in New Tab" don't work normally.

Can this be done? Is it something to do with loadCookie in
nsIURIContentListener?

Matthew
_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to