I am making a custom button. When I click that,it should show the “current page’s URL”.
I found the answer as “document.location” or “windows.location” . But, both points to the local XUL location “chrome://browser/content/browser.xul” not the original URL. Can anybody show how to accomplish this?
I am making a custom button. When I click that,it should show the current
Share
Try anyone of these.. One should definitely work,