72525

Querying browser-plugin existence/version/etc

Question:

As far as IE, my understanding is you have to try and instantiate an ActiveXObject and then check this succeeds, and you can then query the version through the instanced plugin... nothing particularly exciting.

But on Firefox (and I think other NPAPI browsers) you can check for installed plugins and get the DLL name, etc (on Windows at least). What exactly <em>can</em> I find out about installed plugins other than if it exists? Plugin file name, anything else?

edit: And, <em>does</em> IE support <em>any</em> way of querying plugins without creating an instance, in newer versions?

Answer1:

For Gecko, the properties are <a href="https://developer.mozilla.org/en/DOM/Plugin" rel="nofollow">listed on MDN</a>. On WebKit, you only have the ones labeled DOM 0 on MDN (although there is a proposal to add the version info to WebKit as well).

Answer2:

Take a look at the navigator.plugins array, there you'll find a lot of info :)

Recommend

  • Creating NPAPI plugin in Delphi and accessing exported APIs using javascript
  • SSL Certificate Context - How to get it using NPAPI
  • What cross-browser technology do you use in your web applications to manipulate on client machines?
  • How to embed flash in Mono?
  • MAVEN : Run Multiple Maven Project using Maven Test
  • TFS - how do I sum child task hours to parent
  • python: forcing relative imports to search from script file
  • Available space left on drive - WinAPI - Windows CE
  • jquery validation - waiting for remote check to complete
  • Problems with toDataURL HTML5 other ways to get canvas data?
  • Translating C# to PowerShell in InterIMAP
  • PayPal API Listener Website Payments Standard URI
  • Jenkins Grails plugin does not list lastest versions of Grails
  • Iron Router: How do I send data to the layout?
  • Repository Browser Only - \"Repository moved permanently to… please relocate”
  • Hide HTML elements without javascript, only CSS
  • How to generate and display a QR Code in ionic 2
  • How do I configure context broker accept post requests from my remote sensor?
  • How to add git credentials to the build so it would be able to be used within a shell code?
  • Groovy: Unexpected token “:”
  • Very simple C++ DLL that can be called from .net
  • Chrome doesn't support silverlight anymore? How to solve this?
  • How to create a file in java without a extension
  • The plugin 'org.apache.maven.plugins:maven-jboss-as-plugin' does not exist or no valid ver
  • ilmerge with a PFX file
  • Display issues when we change from one jquery mobile page to another in firefox
  • Ajax jQuery multiple calls at the same time - long wait for answer and not able to cancel
  • C# - Serializing and deserializing static member
  • Sony Xperia Z Tablet not found by adb
  • MySQL WHERE-condition in procedure ignored
  • Can I make an Android app that runs a web view in Chrome 39?
  • Javascript convert timezone issue
  • Updated Ionic CLI but shows previous version (Windows)
  • Why is the timeout on a windows udp receive socket always 500ms longer than set by SO_RCVTIMEO?
  • jQuery tmpl and DataLink beta
  • How do you join a server to an Active Directory (domain)?
  • How can I remove ASP.NET Designer.cs files?
  • python draw pie shapes with colour filled
  • Is there any way to bind data to data.frame by some index?
  • How can i traverse a binary tree from right to left in java?