Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Whether or not the browser has the Adobe Flash plugin enabled.
JavaScript
Branch: master

This branch is 3 commits ahead of yields:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
History.md
Makefile
Readme.md
component.json
index.js

Readme.md

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

Something went wrong with that request. Please try again.