Hi all! I need to read the browsers URL (specefic to the tab) using javascript. I tried the
var currentURL = window.location;
alert(currentURL.href) ;
It shows chrome://browser/content/browser.xul
instead of the web address.
What should I do to get the web address?
Can someone please help me out with this.
Thanks!