Javascript browser dictionary script
March 11, 2011 Leave a Comment
Create a new bookmark on your bookmark bar enter the following code into the URL field:
javascript: var word = prompt('What is the magic word?'); if(word){ window.open('http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=define%3A+'+word,'','scrollbars=no,menubar=no,height=600,width=800,resizable=yes,toolbar=no,location=no,status=no');}
Now when you will click the button, you will be asked “What is word you want to define?”. Simply type the word you want to define. You can change the Google search url to any url [like dictionary.com]
[pointless tags]
Javascript tricks, javascript, javascript URL code tricks, javascript rocks, javascript API, javascript hack