Skip to content

Instantly share code, notes, and snippets.

View bfricka's full-sized avatar

Brian Frichette bfricka

  • Eturi Corp
  • San Diego
View GitHub Profile
@JamieMason
JamieMason / PluginSniffer.js
Created December 15, 2010 15:09
Provides Cross Browser Plugin Detection for Quicktime, Flash, Windows Media, Acrobat, Java, etc... or whatever you extend it to. Basically a cleaned up copy of http://www.knallgrau.at/code/plugin_js version 0.5 from 2006.
/*global ActiveXObject*/
/**
* Provides Cross Browser Plugin Detection for Quicktime, Flash, Windows Media, Acrobat, Java, etc... or whatever you extend it to. Modified version of http://www.knallgrau.at/code/plugin_js version 0.5
* @author https://github.com/JamieMason
* @constructor
*/
function PluginSniffer()
{
var self = this; // Reference this instance, whatever it might be called instead of Plugin