Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.
/ hasflash Public archive

Wether or not the browser has flash plugin enabled.

Notifications You must be signed in to change notification settings

yields/hasflash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Wether or not the browser has flash plugin enabled.

Resources

Stars

Watchers

Forks

Packages

No packages published