Search: next to shopping, emailing, and downloading pornography, it’s the most popular activity on the Web. With billions of pages in no particular order, search engines have risen to prominence as the gatekeepers of the Internet. Those that survived the dot-com boom and bust are now worth hundreds of billions of dollars, and they probably deserve it. (They certainly deserve it more than their dot-com predecessors. Remember Pets.com? Man, that was a great business model. “Hey, let’s sell 50-pound bags of dog food with free shipping.” Brilliant.)
Google is currently the undisputed king of search, so many of the hacks in this chapter focus on Google. But there are hacks here for Yahoo! users too, and a few that work with any search engine.
Google can restrict your search to a specific site. You can take advantage of this feature to add a site search to every page you visit.
There are two ways to restrict Google to return pages on a specific site. The first way is to use the
site: keyword in your search results, like this:
This Google search searches for
foo but returns only pages on the example.com domain. On the search results page, the URL looks like this:
The second way is to do it in two steps. First, search for foo; then, at the bottom of the search results, click “Search within results.” You will get to a page with another search form, where ...