Hi All, I am a bit of a newcomer to writing firefox extensions and I am having a bit of a problem. I have written some JavaScript that does what I want for a given url but I don't know how to go about obtaining the url of a link that has been right-clicked. I have all the rest of my extension working including the menuitem in an overlay so that the option I want comes up when you right click. I have even tested this functionality by always using the same test url but can't make this final step. I have tried looking the xpi files of some of the download utilities around without much joy - they are all very complicated and it is difficult to work it out.
I am sure it is something really simple, like passing something to the oncommand function for my menuitem, but if you don't know what it is it's kind of difficult to find out! Any help or pointers as to where I can find out how to do this would be great! _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
