« Return to Thread: browser sniffing in dwr

RE: browser sniffing in dwr

by mikewse :: Rate this Message:

Reply to Author | View in Thread

We could steal some code from Dojo, how much code do you think we would need to add? 
Oh, probably just a handful of lines if we only want to detect IE. BTW: here's MS's own instructions on how to detect it: http://msdn2.microsoft.com/en-us/library/ms537509.aspx
 
Should we settle with an on/off IE detection, or go deeper detecting version and other browsers?
Doesn't Opera do silent document.all in the same way that Moz does? 
No, I just tried this quick test in the address bar:
    javascript: alert( !!document.all )
Mozilla -> false
Opera -> true
 
Best regards
Mike

 « Return to Thread: browser sniffing in dwr

LightInTheBox - Buy quality products at wholesale price