Re: [Jmol-users] Notify user if signed applet request is declined

2012-06-28 Thread Martin Hediger
@ Rolf: I'm not sure I understand your point. What I want is a way to tell Javascript that the user accepted or declined the signed applet verification, so I can indicate it in some label on the page. On 27.06.12 15:19, Rolf Huehne wrote: On 06/27/2012 03:11 PM, Angel Herráez wrote:

Re: [Jmol-users] Notify user if signed applet request is declined

2012-06-28 Thread Martin Hediger
I tried show _signedApplet in the Jmol console, which nicely prints true. However, jmolScript('show _signedApplet') on the console of the browser returns undefined. On 27.06.12 15:19, Rolf Huehne wrote: On 06/27/2012 03:11 PM, Angel Herráez wrote: better:

Re: [Jmol-users] Notify user if signed applet request is declined

2012-06-28 Thread Rolf Huehne
Am 28.06.2012 09:21, schrieb Martin Hediger: @ Rolf: I'm not sure I understand your point. What I want is a way to tell Javascript that the user accepted or declined the signed applet verification, so I can indicate it in some label on the page. In my experience the signed Jmol applet doesn't

Re: [Jmol-users] Notify user if signed applet request is declined

2012-06-28 Thread Paul Pillot
Try jmolScriptWait() instead Paul Le 28 juin 2012 à 09:40, Martin Hediger a écrit : I tried show _signedApplet in the Jmol console, which nicely prints true. However, jmolScript('show _signedApplet') on the console of the browser returns undefined. On 27.06.12 15:19, Rolf

Re: [Jmol-users] Notify user if signed applet request is declined

2012-06-28 Thread Martin Hediger
ok, that might look useful jmolScriptWait('show _signedApplet') 2,scriptStatus,0,script 2 started 4,scriptStatus,0,Script completed 6,scriptStatus,0,Jmol script terminated 5,scriptTerminated,1,Jmol script terminated successfully 1,scriptStarted,2,show _signedApplet 3,scriptEcho,0,_signedapplet =

[Jmol-users] Contact command

2012-06-28 Thread Pascal Auffinger
Well its Jmol 12.2.22 Pascal --- De : Robert Hanson hans...@stolaf.edu Objet : Rép : [Jmol-users] contact command Date : 26 juin 2012 19:33:26 HAEC À : jmol-users@lists.sourceforge.net Répondre à : jmol-users@lists.sourceforge.net Great! What version of Jmol are you using? On Tue, Jun 26,

Re: [Jmol-users] Notify user if signed applet request is declined

2012-06-28 Thread Rolf Huehne
On 06/28/2012 12:37 PM, Martin Hediger wrote: ok, that might look useful jmolScriptWait('show _signedApplet') 2,scriptStatus,0,script 2 started 4,scriptStatus,0,Script completed 6,scriptStatus,0,Jmol script terminated 5,scriptTerminated,1,Jmol script terminated successfully

Re: [Jmol-users] Notify user if signed applet request is declined

2012-06-28 Thread Martin Hediger
That's a useful information. So the _signedApplet basically does not tell if the user granted access or not, rather only if the applet is supposed to be signed. I can think of some rather ugly hacks in the domain of user interaction simulation after the pages loads to see if a dummy-state can

Re: [Jmol-users] Resolver Test Request

2012-06-28 Thread Paul Pillot
Tried it twice today (morning and afternoon): - first link has always worked - second link never worked on the first attempt, only on the second try -- Live Security Virtual Conference Exclusive live event will cover all

Re: [Jmol-users] Resolver Test Request

2012-06-28 Thread Otis Rothenberger
Paul, That's an important piece of information. Markus, the problem could be in my server script. That does not explain why I'm seeing a problem with the direct hit to Resolver on my end. Also, remember that my initial success on link 1 (directly to Resolver) after several tries, clears the

Re: [Jmol-users] Resolver Test Request

2012-06-28 Thread Otis Rothenberger
Jeff, I'm reading the Resolver files as http, and I'm not messing with the headers. It never bothered me because the load works, but maybe that's part of the problem. Markus? Otis -- Otis Rothenberger o...@chemagic.com http://chemagic.com On Jun 28, 2012, at 8:32 AM, Jeff Hansen wrote:

Re: [Jmol-users] Resolver Test Request

2012-06-28 Thread Paul Pillot
Otis, you can use jQuery's ajax method to send a cross-domain request directly to the Resolver. You don't need to use jmolScript for that. I think the only concern is that the browser has to accept XmlhttpRequest v2, which might be a problem with some version (all ?) of MIE. I have a website

Re: [Jmol-users] Resolver Test Request

2012-06-28 Thread Otis Rothenberger
All- Thanks for the replies both off and on list. It sure sounds like this is a local problem with my ISP. A local chemist suggested something that sounds like a likely guilty party - DNS server. He suggested that I change from the ISP defaults to a college, university, or open DNS. I'll get

Re: [Jmol-users] Resolver Test Request

2012-06-28 Thread Otis Rothenberger
One more local suggestion came in that might be the real problem: http://support.mozilla.org/en-US/kb/firefox-cant-load-websites-other-browsers-can#w_dns-prefetching I never thought about this as a browser issue related to DNS, but there it is. This is easy to check out. I use Firefox

Re: [Jmol-users] Notify user if signed applet request is declined

2012-06-28 Thread Robert Hanson
just look at the return from x = load (http://www.google.com;) If it reads: java.security.AccessControlException: access denied (java.net.SocketPermission www.google.com:80 connect,resolve) you don't have the signed applet. Bob On Thu, Jun 28, 2012 at 6:19 AM, Martin Hediger