Re: get current content document inside Firefox cpp code

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On 11/11/09 4:19 AM, DONG Xinshu wrote:
> Thanks, Boris. According to your hint, I found nsDocShell::SetCurrentURI
> is what I want. But nsDocShell::OnLocationChange is not triggered when
> document location changes.

Why are you poking in the C++ code instead of just registering an 
onLocationChange observer on the browser you want to observe?

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.