Skip to content

Instantly share code, notes, and snippets.

@ptrv
Created January 23, 2010 17:40
Show Gist options
  • Save ptrv/284699 to your computer and use it in GitHub Desktop.
Save ptrv/284699 to your computer and use it in GitHub Desktop.
google site search bookmarklet
javascript:Qr=prompt('Search%20Site%20for','');if(Qr)location.href='http://www.google.com/search?&q=site:'+encodeURIComponent(window.location.hostname)+'+'+escape(Qr)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment