Google Hacks Free Open Book

Google Hacks

Previous Section Next Section

Hack 26 The Quick Search Toolbar

figs/beginner.giffigs/hack26.gif

Why do you have to even launch your browser to search Google? This tool lets you search Google and over 100 other search engines from your Windows status bar.

Why should you have to launch a browser to get access to Google's over 2 billion pages' worth of information? You don't. If you want to go about as far beyond the browser as you can go without actually leaving the computer, check out Dave's Quick Search Deskbar (http://notesbydave.com/toolbar/doc.htm), shown in Figure 1-18.

This is a quick little download, all of 322K. You'll need to have Windows 95 or better and IE 5.5 or later to use it. Once you've downloaded and installed it, right-click your mouse on the Windows taskbar at the bottom of your screen and choose Toolbars Add Quick Search.

Figure 1-18. Dave's Quick Search Deskbar
figs/gooH_0118.gif

26.1 Basic Browser Use

The Quick Search tool is a veritable Swiss Army knife of functions, but we'll start with the basics; enter a query in the box and hit the enter key on your keyboard. Your default browser will pop up the Google result page.

The complicated stuff isn't that much more complicated. To go directly to the first hit of a result (using Google's I'm Feeling Lucky feature) add an exclamation point to your search:

"washington post"!

Make sure the exclamation point is on the outside of a phrase (i.e., isn't contained within the quotes) or it won't work. You can, of course, add the exclamation point to the end of a multiple word query:

yahoo what's new!

26.2 Triggers and Switches

The Quick Search Deskbar is powered by a few triggers and lots of switches. The triggers specify which facet of Google is to be searched, and the switches specify either which facet should be searched or the kind of results that should be returned. And they can be mixed and matched.

26.2.1 The triggers

Triggers are characters placed before your query, altering the domains they search and the sorts of queries they construct.

>

Constructs a Google Advanced Search Section 1.6 based on your entered query information. Remember, though, that Google's advanced search page can't handle overly complex queries. If you try to send a complicated query the likes of > fiscal responsibility -site:com -site:org, it won't be accurately represented in the resulting advanced search page.

> cholesterol drugs +site:edu
??

Searches the Google Directory [Hack #29].

?? "George Bush"
,

Searches Google Groups [Hack #30]. You can use the Groups-specific special syntaxes with this trigger.

, group:sci.med* dermatology</pre
26.2.2 The switches

Switches are characters added on to the end of your query, altering the query in various ways.

/ifl

Invokes the equivalent of Google's I'm Feeling Lucky button, taking you directly to the highest ranked Google result for your query. A shortcut is to simply postfix your query with a ! (exclamation point).

yahoo what's new /ifl yahoo what's new!
/advanced

Works like the Advanced Search trigger above.

/groups

Works like the Google Groups trigger above.

/directory

Works like the Google Directory trigger above.

<code>/images

Searches Google Images. You can add the Google Images special syntaxes for this search.

intitle:cat /images
/news

Restrict searches to Google News. You can use the Google News special syntaxes with this search.

intitle:"Tony Blair" /news
/since: days

Searches for pages indexed days ago. For example, for web sites about Jimmy Carter indexed in the last year, you'd use "Jimmy Carter" /since:365. There are some quick shortcuts for this as well: /since:t finds things indexed today, /since:y means yesterday, /since:w is the last seven days, and /since:m ("m" as in month) is the last 30 days.

/cache

Returns the cached version of the URL specified or an error, if the page is not in Google's cache.

http://www.oreilly.com /cache
/related

Finds pages Google thinks are most related to the specified URL. If nothing's related, however unlikely, you'll get an error message.

http://www.researchbuzz.com /related
/link

Finds pages that link to the specified URL.

http://www.google.com /link
Location switches

Allow you to specify that the results you get are from local (or not local, if you prefer) versions of Google.

/canada (Canada)
/deutschland (Germany)
/france (France)
/italia (Italy)
/uk (United Kingdom)
/language: xx

Allow you to change the Google web interface to whatever language you prefer, specified as a language code in place of xx. For a complete list of available languages, visit the Google Language Tools (http://www.google.com/language_tools) page. For example, to query Google in Malay, you'd add /language:ms to your query.

python /language:ms

26.3 Navigating Your Searches

With all these switches, you might imagine that you could do a lot of experimenting with Google searches. And you'd be right!

The Search tool has a built-in way to go over all the different searches you've done by clicking in the search box and repeatedly hitting the down arrow on your keyboard.

26.4 And the Rest

I've spent this hack discussing Dave's Quick Search Taskbar Toolbar Deskbar in the context of Google, because that's what this book is all about. But the tool does a lot more than Google. Click on the >> next to the text box. You'll get a list of search tools in several categories, from Computers to Reference to Shopping. Once you're finished seeing how cool this tool is when used with Google, check it out with over a hundred other different search interfaces.

26.5 See Also

    Previous Section Next Section


         Main Menu
    Main Page
    Table of content
    Copyright
    Dedication
    Credits
    Foreword
    Preface
    Chapter 1. Searching Google
    1.1 Hacks #1-28
    1.2 What Google Isn't
    1.3 What Google Is
    1.4 Google Basics
    1.5 The Special Syntaxes
    1.6 Advanced Search
    Hack 1 Setting Preferences
    Hack 2 Language Tools
    Hack 3 Anatomy of a Search Result
    Hack 4 Specialized Vocabularies: Slang and Terminology
    Hack 5 Getting Around the 10 Word Limit
    Hack 6 Word Order Matters
    Hack 7 Repetition Matters
    Hack 8 Mixing Syntaxes
    Hack 9 Hacking Google URLs
    Hack 10 Hacking Google Search Forms
    Hack 11 Date-Range Searching
    Hack 12 Understanding and Using Julian Dates
    Hack 13 Using Full-Word Wildcards
    Hack 14 inurl: Versus site:
    Hack 15 Checking Spelling
    Hack 16 Consulting the Dictionary
    Hack 17 Consulting the Phonebook
    Hack 18 Tracking Stocks
    Hack 19 Google Interface for Translators
    Hack 20 Searching Article Archives
    Hack 21 Finding Directories of Information
    Hack 22 Finding Technical Definitions
    Hack 23 Finding Weblog Commentary
    Hack 24 The Google Toolbar
    Hack 25 The Mozilla Google Toolbar
    Hack 26 The Quick Search Toolbar
    Hack 27 GAPIS
    Hack 28 Googling with Bookmarklets
    Chapter 2. Google Special Services and Collections
    Chapter 3. Third-Party Google Services
    Chapter 4. Non-API Google Applications
    Chapter 5. Introducing the Google Web API
    Chapter 6. Google Web API Applications
    Chapter 7. Google Pranks and Games
    Chapter 8. The Webmaster Side of Google
    Colophon
    Index


    More Books
    PHP Hacks
    Processing Xml With Java - A Guide To Sax, Dom, Jdom, Jaxp, And Trax
    The Koran (Holy Qur'an)
    Macromedia Flash 8 Bible
    Search Engine Optimization for Dummies
    YouTube Traffic
    PHP 5 for Dummies
    Harry Potter and The Chamber of Secrets
    Harry Potter and the Sorcerer's Stone
    The Pilgrim's Progress
    Wireless Hacks
    Flash Hacks. 100 Industrial-Strength Tips & Tools
    PayPal Hacks. 100 Industrial-Strength Tips and Tools
    Amazon Hacks
    Pdf Hacks
    The Da Vinci Code
    Google Hacks
    The Holy Bible
    Windows XP For Dummies
    Harry Potter and the Half-Blood Prince
    Seo Book
    Upgrading and Repairing Networks
    Macromedia Dreamweaver 8 UNLEASHED
    Windows XP Annoyances
    Windows XP Hacks
    Microsoft Windows XP Power Toolkit
    Teach Yourself MS Office In 24Hours
    iPod & iTunes Missing Manual
    PC Hacks 100 Industrial-Strength Tips and Tools
    PC Overclocking, Optimization, and Tuning - 2th Edition
    PC Hardware In A Nutshell 3rd Edition
    PC Hardware in a Nutshell, 2nd Edition
    Upgrading and Repairing PCs
    Google for Dummies
    MySQL Cookbook
    Teach Yourself Macromedia Flash 8 In 24 Hours
    PHP CookBook
    Sams Teach Yourself JavaScript in 24 Hours
    PHP5 Manual
    Free Games Paper Airplanes
    500 Juegos Gratis 500 Giochi Gratis 500 Jeux Gratuits 500 Jogos Gratis 500 Kostenlose Spiele