Monday, September 12, 2005

Hacking the GoogleToolBar

Recently Google released a version of the GoogleToolBar that allows you to search your Google e-mail. What's also cool about their implementation is the fact that with a simple registry addition you can search any e-mail account (eg: Yahoo Mail, etc.).

Using regedt32.exe or any other registry editor:

1) Navigate to: HKEY_CURRENT_USER\Software\Google\CustomSearch
2) Create a new key called, "Yahoo Mail".
3) Duplicate the keys under the GMail Key.
4) Modify the keys such that you have:
(Default)
Icon {Use a custom hex .ico file here}
Site http://mail.yahoo.com/
Tip Yahoo Mail
Title Yahoo Mail
Url http://us.f607.mail.yahoo.com/ym/Search?
Find=1&B=1&_p=top&ftyp=A&T=HDRS_ONLY&M=CONTAINS&S={query}
&ymuri=ym&fi=3&order=down&sort=date&pos=0

The only 'tricky' value is the 'Url'.

5) Save your changes and restart IE.