Forum Moderators: open

Message Too Old, No Replies

Detect Google Toolbar Whitelist

Detect Google Toolbar Whitelist

         

richardhennessy

2:48 pm on Apr 20, 2004 (gmt 0)



Hi all,

There was some code posted in an earlier thread [webmasterworld.com] that detected if Google Toolbar was installed. I've listed the code below.

Does anyone know of a way to check teh registry "whitelist" to see if a website is listed on the "Whitelist"? I want to be able to display a message telling users to turn the blocker off.

Thanks

Richard

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

*** need a line in here to check the registry key "HKCU\Software\Google\NavClient\1.1\whitelist\allow2" ****

}
else {
document.write("Google Toolbar Not Installed");
}
</script>
</body>
</html>

jcoronella

1:16 am on Apr 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hmm... doesn't seem like a very robust way to test for a pop-up blocker. I would try to create a test pop-up and look for that action. There are lots of pop-up blockers out there other than the toolbar

abates

7:15 am on Apr 21, 2004 (gmt 0)

10+ Year Member



they may have the toolbar installed, but the popup blocker turned off...

Swash

6:40 am on May 7, 2004 (gmt 0)

10+ Year Member



i doubt you could check registry entries from a webpage like that. seems like it would be a huge security hole.