Traditionally, when I wanted to search something, I could do one of two things. First, I could hit the button and I would get a prompt to type in what I was searching for. Second, I could highlight a word on a web page, hit the button, and it would look up the highlighted word.
When I upgraded to Firefox 8.0, these stopped working properly. Now I can still highlight and hit the botton, but the prompt no longer exists. It just forwards me the search URL without giving me a chance to type input. Is there anything I can do?
The getSelection() method now return an object, so you need to adjust that part of the code to make it work.
Here is one for Google: (which you can easily modify)
Search Google from a selection -- http://www.ampercent.com/useful-search-bookmarklets/5269/ -- Firefox has a built-in context menu to do same.*
- *that is to do a search from a selected word with the default search engine (the one at the top)