Browser Plugin Detection with PluginDetect

I have developed a javascript plugin detector called PluginDetect. The PluginDetect script is intended to work with all the major browsers such as Internet Explorer 5+, Firefox, Mozilla, Netscape, Chrome, Safari, Opera, SeaMonkey, Flock, and so on.

PluginDetect is currently at version 0.7.3 (by Eric Gerds, updated 6/5/10)
You are free to use this script for personal or commercial purposes.

If you wish to get a copy of this script then use the PluginDetect Generator.
There is also a full set of instructions on how to use PluginDetect.
The PluginDetect version history is also available to show what basic changes have been made.


For plugin detection examples and discussions, click on the links below...

Adobe PDF Reader detector

Java plugin detector

QuickTime plugin detector

Flash plugin detector

Shockwave plugin detector

Windows Media Player plugin detector

DevalVR plugin detector

Silverlight plugin detector

VLC Player plugin detector

All Plugins detection



Some Background Info on Internet Explorer

By now everyone knows that Internet Explorer (IE) has presented some security concerns with it's ActiveX technology. Internet Explorer 7 and higher overcomes some of these problems by deactivating most ActiveX controls by default.

So, if IE 7+ encounters a javascript that instantiates an ActiveX control for the very first time, then the browser will give a popup warning message asking you to approve or disapprove the control. From a security standpoint, this is good - the user has more control over what happens and makes it less likely that some malware will run on his PC. From a plugin detection standpoint, however, things become more complicated.

Why? In order to do plugin detection in Internet Explorer, it is often neccessary to instantiate one or more ActiveX controls. For example, the usual javascript code :

new ActiveXObject('QuickTimeCheckObject.QuickTimeCheck.1')

has always been effective in revealing the version of QuickTime that was installed. But now, this ActiveX control will cause a security popup in IE when you vist a site that tries to detect QuickTime.

Fortunately, there are some ActiveX controls that have been approved, and hence will not cause any security popups. PluginDetect makes every effort to only use approved controls whenever possible, so that the security popups are avoided.



Bug Reports

Send bug reports, comments or suggestions to .

Let me know if any of the above detection pages causes any problems for you, especially the Java and QuickTime detection. Make sure to report your browser, browser version, and operating system.



Acknowledgements

Many thanks go out to Lewis Francis for his extensive testing of PluginDetect on his Macintosh. I have also found browsershots.org to be useful for testing in certain browsers.