gchq / gchq/CyberChef

Bug report: Chrome version 112 will not be recoginzed as valid browser

Open
#1,561 2 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

Chrome version 112 will not be recoginzed as valid browser.

Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
Filename: https://cyberchef.harman.com/assets/main.js
Line: 2
Column: 5228550
Error: TypeError: Cannot read properties of null (reading 'addEventListener')
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
CyberChef version: 10.4.0

**To Reproduce**
Start Cyberchef application
Access the Cyberchef URL with Chrome 112.0.5615.121 (64-Bit) (Windows)

**Expected behaviour**
Cyberchef board should be shown as with a Microsoft Edge Browser (also Version 112.0.1722.48 64-bit) (Windows)

**Screenshots**
![cyberchef-error](https://user-images.githubusercontent.com/21005440/232829605-7aa83620-07f4-45d4-8bf0-bde5edf83005.png)

**Desktop (if relevant, please complete the following information):**
- OS: Windows 11
- Browser: Chrome 112
- CyberChef version: 10.4.0

**Additional context**
running in docker
Image: mpepping/cyberchef:latest
Image ID: 18fe308b5f33
https://hub.docker.com/layers/mpepping/cyberchef/latest/images/sha256-7b9fea4c725c9cbb3d27b92a1266207385d3c4d742a197977e5588d749725684?context=explore

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure by opening the CyberChef application in Chrome 112 on Windows, then inspect the generated assets/main.js location reported in the issue. Done means the CyberChef board loads in Chrome 112 without the null addEventListener error, matching the expected behavior described for Edge.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.