Detect a plugin in IE browser - javascript?

354 views Asked by At

Is it possible to detect whether my ActiveX plugin is installed or not in IE browser through javascript?

Any pointers would be quite helpful.

Update: In GChrome browser I can find the number of plugins installed by running navigator.plugins.length in javascript.. Is there any similar code available for IE?

1

There are 1 answers

2
Rob On
function AXOrNull(progId) {
  try {
    return new ActiveXObject(progId);
  }
  catch (ex) {
    return null;
  }
}