Detecting ToolbarBrowser Installation

You can use javascript to detect whether the ToolbarBrowser is currently installed.

This can be used to display conditional message prompting the user to download the TB client, or to start the TB client download if needed.

Example:

<HTML>
<HEAD>

<SCRIPT language=JavaScript>
function checkTBInstall()
{
if (typeof(tb)=="undefined")
{
text.innerHTML = 'ToolbarBrowser Not Installed';
}
else
{
text.innerHTML = 'ToolbarBrowser Installed';
}
}

</SCRIPT>

</HEAD>

<BODY onload="checkTBInstall()">

<object classid="clsid:24180B00-2EB6-11d7-BD6F-004854603DCE" id="tb">
<input type="hidden">
</object>


<span id="text"></span>

</BODY>
</HTML>