Re: get current content document inside Firefox cpp code
DONG Xinshu <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
Thanks, Boris. According to your hint, I found nsDocShell::SetCurrentURI is what I want. But nsDocShell::OnLocationChange is not triggered when document location changes. Regards, Xinshu Boris Zbarsky wrote: > On 11/9/09 10:49 PM, DONG Xinshu wrote: >> My intention is to monitor the change of URI of current content document >> in the selected tab. > > Is there a reason the onLocationChange notification is not sufficient > for this purpose? > > -Boris > _______________________________________________ > dev-tech-dom mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-tech-dom