Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Detecting the Google Toolbar

Updated code



11:21 am on Jul 12, 2004 (gmt 0)

10+ Year Member

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.

<title>Google Toolbar Detection</title>
<object id="detection" classid="clsid:00EF2092-6AC5-47c0-BD25-CF2D5D657FEB"></object>
<script language="javascript" type="text/javascript">
if (typeof(detection)!= "undefined") {
if (typeof(detection.Search)!= "undefined") {
document.write("Google Toolbar Installed");
else {
document.write("Google Toolbar Not Installed");
else {
document.write("This is not MSIE");

Featured Threads

Hot Threads This Week

Hot Threads This Month