Sorry to be a pest, but no.

Jmol.js at least tests for MSIE before testing for Mozilla.

See it at  http://jmol.sourceforge.net/browsercheck/ 

Also, because of testing for "compatible" in the UA, even if we check 
"mozilla" first it will still be classified as IE. 

I think we need to check IE version <=9 at the same time as >=5.5 in order to 
define "msie" object tag.
Or wholly rework the browser detection routine in Jmol.js --which I think it's 
not the time to do.

I haven't checked carefully, but on first inspection I got the feeling that the 
new JmolApplet.js and  JmolCore.js are using the same routine.


On 5 Jun 2012 at 13:31, Robert Hanson wrote:
> 
> Ah, yes. I see. Well, MSIE 9.0 reports navigator.userAgent to be "Mozilla", 
> so that takes care of 
> that!


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to