Bug report: Chrome version 112 will not be recoginzed as valid browser
- 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**

**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
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