Mike Conley wrote:
From the passed in nsIWebProgress[1], you should be able to get at the
nsIDOMWindow, and from there, I *think* you can get to the nsIDocShell by
QI'ing the nsIWebProgress to an nsIInterfaceRequestor and then GetInterface'ing
nsIDocShell. I haven't tried this, but I'm reason
Hey Yonggang,
You might find nsIWebProgressListener useful:
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIWebProgressListener
Specifically the onLocationChange method. This is fired once we've
determined that we're going to load a new URI for a DOM Window.
Fr
So that I know what's the docshell is and the URL is.
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform
3 matches
Mail list logo