HI Boris thanks for the response. 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. Do I have to get the actual URL window and then get its value? thanks lav Boris Zbarsky wrote: > lav wrote: > > Can someone please tell me how to get the URI of the current browser > > window, for firefox, using Javascript > > You probably want to ask the window watcher for the activeWindow... > > > I tried getting the nsIWebBrowser > > Firefox doesn't use nsIWebBrowser. > > -Boris _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
