This is a jQuery plugin that I develop to allow quick and simple browser plugins detection inside jQuery namespace.
I have extended the jQuery.browser so you can retrive some properties inside the browser object in a very expressive way:
jQuery.browser.flash //Flash
jQuery.browser.sl //Silverlight
jQuery.browser.pdf /PDF format
jQuery.browser.java //Java
jQuery.browser.qtime //Quicktime
jQuery.browser.wmp //Windows Media Player
jQuery.browser.shk //Shockwave
jQuery.browser.rp //Realplayer
In case of the PDF support, it checks if only the PDF mimetype is supported in the browser, so it's not limited to adobe reader software.
The value for each property will return true, otherwise it will return false.
Your browser supports:
Has Flash:
Has Silverlight:
Has PDF:
Has Java:
Has Quicktime:
Has Window Media Player:
Has Shockwave:
Has Realplayer:
http://plugins.jquery.com/project/jqplugin
Create a free website at Webs.com