Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a Safari dictionary button' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a Safari dictionary button
Authored by: DCJ001 on Nov 13, '10 07:56:53PM

Here we are, more than seven years after the original post,

The following Javascript bookmarklet will take you to Merriam-Webster's online for a highlighted word, or, if there is no highlighted word, a pop-up search window will appear so that you may enter the word that you would like to define. If you change your mind, after the pop-up search window appears, you can click on the "Cancel" button or the "Escape" key, without leaving the existing website.

I have this bookmarklet located in the first position off the edge of my bookmarks bar so that I can use it by pressing Command-1:

javascript:x=escape(getSelection());if(!x)%7Bvoid(x=prompt('Merriam-Webster%20Dictionary%20search:',''))%7D;if(x!=null)%7Bwindow.location='http://www.m-w.com/cgi-bin/dictionary?'+x%7D



[ Reply to This | # ]