Der hierfür nötige Code sieht so aus:
<form name="form">
<object id="label1" width="130" height="16" classid="CLSID:978C9E23-D4B0-11CE-BF2D-00AA003F40D0">
<param Name="Caption" Value="Ich bin ein ActiveX-Objekt" />
</object>
<p align="center">
<script>
<!--
if (document.form.label1) //ActiveX ist aktiv
{document.write("<span style=\"color:#ff0000;\">Ihr Browser unterstützt ActiveX !</span>")}
if (!(document.form.label1)) //ActiveX ist nicht aktiv
{document.write("<span style=\"color:#00ff00;\">Ihr Browser unterstützt kein ActiveX !</span>")}
// -->
</script>
</p>
</form>