I am getting the url using this. alert(window.content.document.location);
Check whether this is what you need Thanks Vinod Boris Zbarsky wrote: > lav wrote: > > I tried getting the activeWindow.document.location.host > > > > that still keeps returning the XUL's location on the system, the chrome > > path, similar to what window.location wd return. > > If you have the chrome window you can get the current tab from it... How to do > this isn't really an XPCOM issue, since it somewhat depends on the exact app > involved. Something like activeWindow.content might work. > > That said, I'm suprised that activeWindow returns the XUL window. That's not > what I would have expected from the window watcher in general... > > -Boris _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
