View Single Post
Old 12-19-2005, 01:54 AM  
Zester
Confirmed User
 
Zester's Avatar
 
Industry Role:
Join Date: Jul 2003
Posts: 5,344
Quote:
Originally Posted by aiken
www.browserhawk.com

It's been flawless for us.

Cheers
-b
I need something that is either PHP of javascript based.

this seems to work with the few browsers (IE 6 and firefox) I tried:
Code:
<SCRIPT LANGUAGE=JavaScript1.1>
<!--
var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}

if ( MM_FlashCanPlay ) {
	alert("flash detected");
} else{
	alert("no flash detected");
}
//-->
</SCRIPT>
__________________
* Mainstream ? $65 per sale
* new male contraception

Last edited by Zester; 12-19-2005 at 01:57 AM..
Zester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote