Wednesday, December 14, 2005

Bookmarklet: Google Define

Just Follow these Quick And Easy steps:
  1. Google Define: <--- drag this link to Bookmarks Toolbar.
  2. Now select any word and click on the bookmarklet.
  3. Pat on your back, now you know the precise meaning of another word.
  4. Use back button to return to your previous page.
Q: What is it?
A: Use this bookmarklet to quickly and effortlessly lookup meanings of words while reading any article online. Then immediately return to article by pressing Backspace/Back button.

If you are fan of dictionary.com or wikipedia the here is something for you too:
  1. dictionary.com
  2. thesaurus.com
  3. Wikipedia.org
Note: Currently, when bookmarklet is clicked with nothing selected, an empty search is still performed. To handle this case I'll add javascript to ask for word, in couple of days.

2 comments:

Anonymous said...

hey, this isn't working at all on my chrome!!! i select a word in a page, & then click on this bookmarklet in bookmark bar.... nothin' happens!!

Anonymous said...

well this is what i got when i modified 'google search bookmarklet' to get define bookmarklet :: javascript:q%20=%20%22%22%20+%20(window.getSelection%20?%20window.getSelection()%20:%20document.getSelection%20?%20document.getSelection()%20:%20document.selection.createRange().text);%20if%20(!q)%20q%20=%20prompt(%22Search%20words%22,%20%22%22);%20if%20(q!=null)%20location=%22http://www.google.com/search?q=define:%22%20+%20escape(q).replace(/%20/g,%20%22+%22);%20void%200



enjoy!
this works on all browsers! tried and tested!
Firefox
Opera
Chrome
IE
!!