Skip to content

Instantly share code, notes, and snippets.

@getify
Created November 13, 2010 17:18
Show Gist options
  • Save getify/675496 to your computer and use it in GitHub Desktop.
Save getify/675496 to your computer and use it in GitHub Desktop.
detecting if flash plugin is installed
var _flash_installed = ((typeof navigator.plugins != "undefined" && typeof navigator.plugins["Shockwave Flash"] == "object") || (window.ActiveXObject && (new ActiveXObject("ShockwaveFlash.ShockwaveFlash")) != false));
@jdunne-kaplan
Copy link

@snshastry
Copy link

Am facing an issue with latest Firefox 55 (win64). navigator.plugins is not returning "Shockwave Flash" even though flash is installed.
Could anyone suggest how to resolved this.
Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment