Is there a quick way to get a list in JavaScript of the available Active X plugins?
I need to do a test to see if a plugin has been installed before I actually try to run it.
In effect I want to create a page that says 'Plugin Installed and properly Working' or have it fail gracefully.
I'm not sure how to have it fail gracefully if the plugin is not available.
As with all add-ons, the plugins you install to give your browser additional functionality are located in a folder on your C: drive. If you need to only review a list of your plugins, or enable or disable one or more plugins, you can also find them on a special plugins screen within your browser.
plugins. Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes.
Browser support: Contains information about an installed plug-in in the browser. A plug-in can be associated with several MIME types. You can get details about these MIME types with the methods of the plugin object.
Just try
it.
try {
var plugin = new ActiveXObject('SomeActiveX');
} catch (e) {
alert("Error"); // Or some other error code
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With