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)

Junior Member from AU 

10+ Year Member Top Contributors Of The Month

joined:June 28, 2003
votes: 22

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");

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members