0 votes
asked by (120 points)
When I publish a story from Twine to html, it opens and functions as expected in Firefox. But opened in Safari, it is just a completely black screen.

Any guidance on this would be great.


1 Answer

0 votes
answered by (59.8k points)
What Twine version? What story format and version?
commented by (131k points)
Which version of Safari, and which operating system (name & version) are you running it on?
commented by (120 points)
Twine 2.2.1

Harlowe 2.1.0

Safari 11.0.3

OSX 10.13.3

-- Daniel
commented by (131k points)

I'm not an OSX (or Safari) user but I know that the web-browser has a Web Developer Console, this site lists how to access it for Safari (and other web-browsers)

Can you look at your console while trying to run your Story HTML file and report any error messages you find in it.

commented by (120 points)
SecurityError (DOM Exception 18): The operation is insecure.

Not allowed to load local resource: file:///favicon.ico
commented by (120 points)
With the error information, I found the following solution:

Issue is fixed by going to Develop menu and selecting "Disable Local File Restrictions" (a solution I found here https://stackoverflow.com/questions/46374291/safari-11-gets-securityerror-dom-exception-18-when-accessing-localstorage).

Apparently, by default, Safari does not allow access to local files.

Thank you for helping with this. Looking to the errors was the key.

Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.