Hi, I'm looking for the updated code to detect the newest version of Google Toolbar. There's old javascript out there but does not work with the new version of the toolbar. Does anyone have any solution? Thanks a lot. Thomas.
Probably this is because google changed the classid of the toolbar. I found this code: -which is outdated- <html> <head> <title>google toolbar detection</title> <object id="detection" classid="clsid:00EF2092-6AC5-47c0-BD25-CF2D5D657FEB"></object> </head> <body> <script language="javascript" type="text/javascript"> if (typeof(detection.Search)!= "undefined") { document.write("google toolbar Installed"); } else { document.write("google toolbar Not Installed"); } </script> </body> </html> Code (markup): Now, you see this: 00EF2092-6AC5-47c0-BD25-CF2D5D657FEB. That was an old google class ID. The newer could be found into the registry usually, but I think we'll drop that part lol. After some search, I found some *possible* CLSID's whereunder GTB (google toolbar) works. $edit: those keys are pretty up-to-date, so .. FBA44040-BD27-4A09-ACC8-C08B7C723DCD 6134CEA9-DD6E-495C-A0D1-4F232027D7D7 Try both of them, and see what it gives *Note: for the script to work, the client browser needs ActiveX allowed. If not, this won't work! Probably, for security reasons, the script might get blocked, because it could be seen as a security thread. I'm almost 100% sure that by example the script won't work on Firefox. Hope this helps you a bit peace
I've not tried myself but on this page: http://www.banbots.com/google-detect.htm you can find a javascript example, although it's only for Explorer.