Thank you for creating Brave Browser! I’ve been using it for a few months.
When using the browser zoom on some pages I developed, I can’t calculate the zoom level via JavaScript.
Take a look at how JS gets the browser zoom here: https://github.com/jenswittmann/CurlyFramework/blob/9e845e44a6d7c8ac6c2ace732e78b5377cb67bec/index.html#L757-L788
There is also a demo to test in Brave and Chrome to see the problem: https://curlyframe.work/#zoomdetector
Steps to Reproduce
- Open https://curlyframe.work/#zoomdetector.
- Zoom in on the page using CTRL and +/-.
The problem is that you can see the calculated zoom level via JS in Chrome, but not in Brave.
System
- Brave 1.80.120 (Offizieller Build) (arm64), Chromium: 138.0.7204.101
- macOS Sequoia 15.5