From 5c2225261b4890a114c98db7e30d2ce0b9060901 Mon Sep 17 00:00:00 2001 From: d98762625 Date: Fri, 7 Dec 2018 13:09:19 +0000 Subject: [PATCH] Add troubleshooting page with safari scripterror workaround --- Troubleshooting.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Troubleshooting.md diff --git a/Troubleshooting.md b/Troubleshooting.md new file mode 100644 index 0000000..addbfc8 --- /dev/null +++ b/Troubleshooting.md @@ -0,0 +1,9 @@ +## Script error when running `cyberchef.htm` from a local file in Safari + +Sometimes Safari throws a scriptError or syntaxError when you run `cyberchef.htm` from a file. The workaround for this is to run an instance of [`http-server`](https://www.npmjs.com/package/http-server) with compression enabled. You can do this with the following commands: + +``` +cd +npm install -g http-server +http-server -g . +``` \ No newline at end of file