I want to make an addon for Firefox/Chrome for my website. So that someone can highlight something, right click and then it will submit it to my website and make a popup so that they can see the output.
Anyone know how to do this or have a tutorial on how to do it?
- Bought between 10 and 49 items
- Contributed a Blog Post
- Contributed a Tutorial to a Tuts+ Site
- Exclusive Author
- Has been a member for 4-5 years
- Item was Featured
- Microlancer Beta Tester
- Referred between 100 and 199 users
- Sold between 10 000 and 50 000 dollars
I happened to be in a similar situation and it got the hell out of me because there is no step-by-step tutorial or no ebook for that. The best thing is to start with the current extensions and to see how they work. Browse the files and emulate something similar.
For FireFox you need to learn some XUL and see how it interacts with JavaScript. The FireFox developers docs are going to be helpful but they are a mess to browse.
There is nothing in the Chrome Extension API that allows you to mess around with the right click menu (that is stable yet).
I have seen other scripts listen for a Right Click action and fire an event.
If you want to use that you can use the Omni Bar to do some submitting, or a regular extension plugin.
Browse the Google Code (on extensions) their documentation has greatly improved since the last versions.
Thanks for the help guys.
