Phil,
I don't know about the local issue, but both URL's open for me in Chrome and
Safari (Version 7.0.6 (9537.78.2)) on Mavericks: OS X 10.9.4 (13E28)
Otis
--
Otis Rothenberger
Department of Chemistry
Illinois State University Normal, IL 61790-4160
http://chemagic.org
----------------------------------------
From: "Philip Bays" <[email protected]>
Sent: Wednesday, September 03, 2014 10:17 AM
To: "Jmol Jmol" <[email protected]>
Subject: Re: [Jmol-users] Local File Access
Thanks. That solves the issue for Safari and newer jmol versions. However, I
still do not understand the problem in this sense: the release of 6/28 works
fine without having to make the file restrictions change, but the 8/25 version
does not. Same version of OS and Safari. Has something changed in jmol in the
intervening time that causes that, or is it something else?
In addition, I have moved copies of booth versions to my website. In this
case, accessing from home,6/28/test2 works, but I get a permissions error for
8/25. Still working to see what is different.
The links I am trying to access via the web are:
www.saintmarys.edu/~pbays/jmol0628/jsmol/test2.htm
www.saintmarys.edu/~pbays/jmol0825/jsmol/test2.htm
Phil
On Sep 3, 2014, at 9:07 AM, Otis Rothenberger <[email protected]> wrote:
?Hi Phil,
?In Safari Preferences, go to Advanced and check "Show Develop menu in menu
bar."
In the resulting Develop toolbar drop-down, there is a Disable Local File
Restrictions check toggle item. Select this if it is not checked.
On the Chrome (37.0.2062.94 on Mavericks) issue that I wrote about yesterday,
there are two ways to avoid the terminal directly if you have some familiarity
with the Apple Automator.
Open Automator. Choose Application. Select Utilities. Drag Run AppleScript to
the Automator window. Copy/paste one of the following scripts into the
resulting text window. Save the app to desktop. Double click OR Drag/Drop htm
file depending on approach you selected.
FOR DOUBLE CLICKABLE AUTOMATOR APP
on run {input, parameters}
do shell script "open -a /Applications/Google\\ Chrome.app --args
--allow-file-access-from-files"
end run
FOR DRAG/DROP AUTOMATOR APP
on run {input, parameters}
tell application "Finder"
set filename to input as text
set filepath to POSIX path of filename
end tell
do shell script "open /Applications/Google\\ Chrome.app --args
--allow-file-access-from-files file:///" & filepath
end run
Again, it is most important that Chrome is closed when you do this. If Chrome
is open, neither script will work properly. Late night last night. What a weird
scripting language! I have not dealt with AppleScript since my first Macintosh
LONG ago.
Otis
On Mon, Sep 1, 2014 at 10:07 AM, Philip Bays <[email protected]> wrote:
I think I was the one who raised this issue (#3). Perhaps I was not clear, or
perhaps I am dense.
I am not talking about the Java applet. I am trying to launch test2 in
Safari with JSmol by double clicking it. The applet tries to load but then
fails. I see the opportunity in Safari...Preferences.Security to white list
various plug-ins: things like Flash, Adobe, Quicktime, etc. I believe this is
where Java also appears if it is on the system. But I see no preference for
JSmol except to "enable javascript".
What am I missing?
Phil
On Wed, Aug 20, 2014 at 1:25 PM, Robert Hanson <[email protected]> wrote:
Issue #3 JSmol/Java applet will not run in Safari for local pages (Mavericks
OS 10.9.4)
Solution: Open a local page accessing the JSmol/Java and then using
Safari...Preferences...Security, enable local file reading
See http://sourceforge.net/p/jmol/mailman/message/31570102/
Outcome: Reloading the page, you should get the standard alerts about running
Java applets, then the Jmol applet will start.
Philip Bays
Emeritus Professor of Chemistry
Saint Mary's College
Notre Dame, IN 46556
[email protected]
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users
-- Otis Rothenberger
[email protected]
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users
Philip Bays
Emeritus Professor of Chemistry
Saint Mary's College
Notre Dame, IN 46556
[email protected]
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users