Bob,

Since the direct load of a model from PubChem works, PubChem must be allowing 
this with a proper Access-Control-Allow-Origin setting. I understand that.

On the JSmol client side, you still have to deal with the cross-origin AJAX 
problem to complete the load. Am I correct on this point?

If so, how are you dealing with this AJAX problem?

My problem is that I need the 2d sdf for the appended data, not the 
coordinates. I was getting this with regular AJAX via direct access, but this 
has changed in browsers recently because of tightening of the cross origin 
policy. Currently, I'm using my server as a proxy, but PubChem help techs say 
they really do not like the proxy approach.

Otis

--
Otis Rothenberger
o...@chemagic.com
http://chemagic.com




------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to