|
|||||||
| JavaScript JavaScript (not Java) Discussion and technical support, including AJAX and frameworks (JQuery, MooTools, Prototype...) |
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
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... alert(document.location.href); alert(document.title); |
![]() |
| Bookmarks |
| Tags |
| extension, javascript |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|