views:

8

answers:

0

Hi, I want to make a very simple IE addon. Basically, I figured simple way to simplifi logging into one websystem. I have written script in javascript which contain text area and a button. You just enter a code of item from list into the text area, click buton which sends form containing the item number using post method to a webserver to process.

But I would want to simplyfy it one more step. I would like to add a button to the IE context menu, which when clicked would take http adress of the link on which is currently mouse pointer, and pass that adress to the javascript I created to examine item number and send the login form.

I know that you can simply add context menu button editing registry settings, but I have no idea how to get that http adress as a parameter. Please help. Thanks.