Skip to content

Instantly share code, notes, and snippets.

@matthewmccullough
Created April 2, 2009 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewmccullough/89191 to your computer and use it in GitHub Desktop.
Save matthewmccullough/89191 to your computer and use it in GitHub Desktop.
JavaDoc Search Bookmarklet
// JavaDoc Search Bookmarklet by Josh Goebel
// Original source at Pastie.net: http://pastie.org/434851
//
// Select the text below, then drag it to your browser's toolbar. This creates a
// bookmark to perform Java 6 searches. After you create the bookmark, you probably
// want to edit the description. On FireFox, just right click the bookmark, select
// Properties, and change the name.
javascript:void(q=prompt('Java%20class%20Name:',''));if(q)void(location.href='http://www.google.com/search?q='+escape(q)+'%20site%3Ajava.sun.com%2Fjavase%2F6%2Fdocs')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment