Skip to content

Bug report: Downloadable version not working on Safari due to unavailable localStorage #174

@jmiserez

Description

@jmiserez

Summary

The downloadable cyberchef.htm page does not load when local storage is not available. Unfortunately, Safari on Mac does not seem to support local storage for offline files. I get the following error in the JS console:

[Error] SecurityError (DOM Exception 18): The operation is insecure.
	loadLocalStorage (cyberchef.htm:101:1316857)
	setup (cyberchef.htm:101:1313376)
	e (cyberchef.htm:101:959968)

and CyberChef just remains at the loading screen and never loads. This is with regular browsing mode, not private browsing. The same downloaded file works fine in Chrome.

Possible solutions

CyberChef should load even when local storage is not available. I'm unsure if this is feasible.

Environment

Browser/OS: Safari 10.1.1 (12603.2.4) that is shipping with macOS 10.12.5 (latest)

  • Version: 5.12.4
  • Compile time: 03/08/2017 12:08:51 UTC
  • User-Agent:
    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions