简体   繁体   中英

How to show all plugins from Internet Explorer?

I am having some troubles on listing the plugins from IE plugins using Javascript like Panopticlick does. I am using the plugin.name but it does not run on IE

在此处输入图片说明

Any suggestions or used code examples? Thank you

navigator.plugins will work for IE 11 but not for earlier IEs. More on IE and plugins can be read here . For earlier IEs, you will need to check for each plugin manually by trying:

try {
   new ActiveXObject('aPluginName');
   return true;
} catch(e) {
   return false;
}

Main problem is, that plugins in IE are ActiveX based, which means each has its own API and there is no way you can check this in a general "catch-them-all" way. I found this link quite helpful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM