How to read URL in FF extension
I am trying to develop a small FF extension, where user clicks on my menu item and app alerts current URL and Title of the document.
When I open www.google.com and click my menu I should get alert title=Google - Mozilla Firefox and href=www.google.com
I am getting title correctly but href is "chrome://browser/content/browser.xul"
How should I read my original href i.e. www.google.com
alert statements in js files are...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread