# Detect browser zoom via JavaScript, as in Chrome

**URL:** <https://community.brave.app/t/detect-browser-zoom-via-javascript-as-in-chrome/631787>\
**Category:** Browser Feedback\
**Tags:** accessibility, macos, browser, bug\
**Created:** [July 10, 2025, 10:12am UTC](https://community.brave.app/t/detect-browser-zoom-via-javascript-as-in-chrome/631787 "2025-07-10T10:12:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jenswittmann](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jenswittmann](https://community.brave.app/u/jenswittmann)\
**Post date:** [July 10, 2025, 10:12am UTC](https://community.brave.app/t/detect-browser-zoom-via-javascript-as-in-chrome/631787/1 "2025-07-10T10:12:24Z")

</div>

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](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](https://curlyframe.work/#zoomdetector)

## Steps to Reproduce

1. Open [https://curlyframe.work/#zoomdetector](https://curlyframe.work/#zoomdetector).
2. 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
