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: invalid theme gives TypeError: t.querySelector(...) is null #1996

Closed
wisdom-in-snow opened this issue Mar 7, 2025 · 0 comments · Fixed by #2007
Closed

Bug report: invalid theme gives TypeError: t.querySelector(...) is null #1996

wisdom-in-snow opened this issue Mar 7, 2025 · 0 comments · Fixed by #2007
Labels

Comments

@wisdom-in-snow
Copy link

Describe the bug
Cyberchef gave me the following error:

CyberChef encountered an error while loading.

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:136.0) Gecko/20100101 Firefox/136.0

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

TypeError: t.querySelector(...) is null
Filename: https://gchq.github.io/CyberChef/assets/main.js
Line: 2
Column: 8177840
Error: TypeError: t.querySelector(...) is null
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:136.0) Gecko/20100101 Firefox/136.0
CyberChef version: 10.19.4

To Reproduce

  1. visit: https://gchq.github.io/CyberChef?theme=foo where foo is not a valid theme name.

It does not occur when foo is a valid theme name or for https://gchq.github.io/CyberChef

Expected behaviour

Cyberchef should probably give an "invalid theme" message or load with the default theme.

Desktop (if relevant, please complete the following information):

  • OS: Ubuntu 24.04
  • Browser: firefox 136 and chrome 133.0.6943.126 (Official Build) (64-bit)
  • CyberChef version: 10.19.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant