faqts : Computers : Programming : Languages : PHP : Not Quite PHP : Javascript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 7 people (71%) answered Yes
Recently 2 of 3 people (67%) answered Yes

Entry

Can I use Javascript to determine if the user has a certain plugin installed?
How can I work out if a user has the flash plugin installed?

May 30th, 2000 09:41
Philip Olson, Nathan Wallace, Jeff den Broeder


One way (the most common) is to use Javascript to determine if a user 
has certain plugins.
Here is a Javascript example on how to detect if the browser has
certain plugins.  Only change the given example MIME type by
application/x-shockwave-flash.
    http://www.irt.org/script/482.htm
One "trick" to determine the presence of Flash, through meta tags, is 
here:
    macromedia.com/support/flash/ts/documents/scriptfree_detection.htm