Reputation: 1060
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?
Upvotes: 0
Views: 353
Reputation: 4947
function AXOrNull(progId) {
try {
return new ActiveXObject(progId);
}
catch (ex) {
return null;
}
}
Upvotes: 0