has-flash

Whether or not the browser has flash plugin enabled.

npm install has-flash
4 downloads in the last week
16 downloads in the last month

hasflash

Whether or not the browser has flash plugin enabled.

Installation

$ component install yields/hasflash

API

hasflash()

checks the navigator plugins, navigator mime types and then tries to construct a new ActiveXObject with ShockwaveFlash.

if all above fail the function returns false.

hasflash();
// > boolean

License

MIT

npm loves you