[thelist] JS to detect Mac

David at softv.net David at softv.net
Fri Feb 1 10:37:01 CST 2002


function MACTest()
{
	var strPlatform = new String( navigator.platform );
	return ( strPlatform.toLowerCase().indexOf( "mac" ) != -1 );
}



More information about the thelist mailing list