Socket
Book a DemoInstallSign in
Socket

has-flash

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

has-flash

Whether or not the browser has flash plugin enabled.

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 27 May 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts