Creation of Bookmark Button

Hi Everyone,

I want to create a button in my app which can be placed on browser bookmarks toolbar.

And for any website when i click on that bookmark, it will open a layered window (like popup) which

will have page title and domain name of that page And also it will have some input fields. It will be

a form from my application. And when i will submit that window will close down and update db.

Does anybody know how to do this?

What all things i need to implement this?

Thank You.