I think it's just a nuisance, not a problem.
see below
On Tue, Aug 28, 2012 at 4:12 AM, Mikko Rantalainen <
[email protected]> wrote:
> Am I the only one suffering from the issue that Google Chrome tries to
> load file "JmolApplet.class" from server when Jmol-JSO library is used.
>
> Example: http://biomodel.uah.es/Jmol/JSO/simpleJmol3-0.htm
>
>
However -- Angel -- is that page supposed to load, or was that a demo of
the problem we were having? I note that it does not load correctly in
FireFox.
> To view the issue, open the URL above in Google Chrome (I tested
> 22.0.1229.14 beta and 23.0.1246.0 canary), press F12 and select Network.
> Reload the page and grant permission to run Java applet. Notice that
> Jmol-JSO library causes extra request for JmolApplet.class for each Jmol
> view.
>
> The above example seems to use Jmol 12.3.23 but I'm reproducing the same
> issue with Jmol 13.0.1.
>
> The issue is probably caused by the logic in Jmol._Applet._createApplet
> definition in JmolApplet.js on line 98:
>
> 96: params.mayscript = 'true';
> 97: params.codebase = applet._jarPath;
> 98: params.code = myClass + ".class";
>
> The 'params.code' causes Chrome to blindly trying to load the
> JmolApplet.class from the codebase path. I don't know a proper fix for
> the issue. Both the example above and my internal test case are using
> HTML5 doctype so perhaps the problem is related to that. It seems that
> the above code is supposed to only run in case of HTML 4.0 document or
> if the user agent is some variant of Internet Explorer because it
> guarded by a following test:
>
> if (Jmol.featureDetection.useIEObject
> || Jmol.featureDetection.useHtml4Object)
>
> useHtml4Object is true for any system at least as advanced as Html4.
> (As a related note, has anybody successfully used Jmol in XHTML5
> document? I tried to do so but never got it to work.)
>
>
How does one distinguish by DOCTYPE XHTML5 and HTML5?
> --
> Mikko
>
>
>
>
> ------------------------------------------------------------------------------
> 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-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users