I am currently working on Firefox extensions. My extension works as follows:
- Whenever user double clicks any word on page(any webpage), the word selected must be stored in a variable and sent to server to find its meaning from database.
- When he/she single clicks at any other place in the same document the popup showing meaning from DB should get disposed.
Any Answers?