I looked in here for a bit of code to detect the Google Toolbar. This worked fine in MSIE and Opera, but didn't work in Firefox (coming back with a Javascript error) - this is an updated version which does work correctly in Firefox.
Hope someone finds it handy.