Bug: testufo dot com broken for some user agent strings
Posted: 27 Jan 2025, 11:33
I am using Chromium Embedded Framework in my app, and customizing the `user_agent_product` field; my complete user agent is:
... where `OpenKneeboard/1.9.13.0` is my app.
This leads to:
If I use CEF's user-agent unaltered, the site works fine
By 'broken' I mean the animation is not displayed; the fps, refresh rate, pixels per frame, per sec are all blank or `-`, and the area above where the animations should be is just showing the background color.
Code: Select all
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) OpenKneeboard/1.9.13.0 Chromium/132.0.0.0 Safari/537.36
This leads to:
Code: Select all
(index):176 Uncaught TypeError: Cannot read properties of null (reading '1')
at detectBrowser ((index):176:3278)
at (index):176:5048
By 'broken' I mean the animation is not displayed; the fps, refresh rate, pixels per frame, per sec are all blank or `-`, and the area above where the animations should be is just showing the background color.