简体   繁体   中英

JavaScript: Cross-browser “browser plugin” detection

I'm looking for a script that will allow me to detect if a user has Windows Media Player installed, or Quicktime, or Flash, or Silverlight...

Ideally, this would be jQuery plugin, but any script will do.

Do you know of one you can recommend?

PluginDetect seems to work pretty good. You can generate a minified version of the script and only select the plugins you want to detect and functions you need.

试试jqPlugin

Apple has written a script to do this. With it you can run functions like:

  • detectQuickTime()
  • detectFlash()
  • detectDirector()
  • detectWindowsMedia()
  • detectReal()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM