I think you'll find that the sample script should read
if (navigator.userAgent.indexOf("Mac") == -1)
{
alert("Not in protected mode!")
}
--
tdinneen
------------------------------------------------------------------------
tdinneen's Profile:
http://forums.techarena.in/member.php?userid=19137
View this thread:
http://forums.techarena.in/showthread.php?t=622126 http://www.techarena.in