How can I detect if Flash is installed and if not, display a hidden div that informs the user?
If swfobject won’t suffice, or you need to create something a little more bespoke, try this: var hasFlash = false; try { hasFlash = Boolean(new ActiveXObject(‘ShockwaveFlash.ShockwaveFlash’)); } catch(exception) { hasFlash = (‘undefined’ != typeof navigator.mimeTypes[‘application/x-shockwave-flash’]); } It works with 7 and 8.