View Single Post
Old 11-13-2006   #5 (permalink)
tdinneen


 
 

Re: IE7 detect protected mode in script


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

My System SpecsSystem Spec