© Scott Dawson, http://scottpdawson.com (607) 279-7173, @scottpdawson

A Bookmarklet for Confining Google Search Results to a Specific URL

We were looking for a simple way to search a web site from a specific path, not just from the root. For example, dailymile.com/people/spdawson. Google supports this by using the syntax “site:dailymile.com/people/spdawson {search_term}”, but rather than have to type that in each time, I created a bookmarklet that does the same thing, and more.

  1. Go to the page you want to search from.
  2. Click the bookmarklet you installed from below.
  3. Enter your search term at the prompt.
  4. From the Google results page, you can click the bookmarklet again to change the search term: no need to go back to the prior page.

Bookmarklet Code

Want more? Subscribe to my TinyLetter at tinyletter.com/scottpdawson

Leave a Comment

Your email address will not be published. Required fields are marked *