Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug report: CyberChef encountered an error while loading. [Firefox 56.0] #1222

Open
BlueberryFoxtrot opened this issue Jul 7, 2021 · 1 comment
Labels

Comments

@BlueberryFoxtrot
Copy link

The following browser versions are supported:

Google Chrome 50+
Mozilla Firefox 38+

Your user agent is:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0

If your browser is supported, please raise an issue including the following details:

Error: Inline worker is not supported
Filename: https://gchq.github.io/CyberChef/assets/main.js
Line: 2
Column: 4070430
Error: Error: Inline worker is not supported
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
CyberChef version: 9.28.0

@chriswhite199
Copy link
Contributor

chriswhite199 commented Jan 13, 2023

I had a similar issue, check your Content-Security-Policy header in the response for the html page, you need a workers-src 'self' block: data: entry if you have explicitly set the CSP header.

For example in nginx:

add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' blob: data:; script-src 'self' 'unsafe-inline' 'unsafe-eval'; workers-src 'self' blob: data:;";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants