System volume level
No API tells a page how loud the device volume is.
In one line
Can't see how loud your device volume is set
No API tells a page how loud the device volume is.
Volume is OS state. Proxies exist: autoplay policy shows a muted tab, audio output device changes fire devicechange, and a muted video can still play. A page cannot read a 0 to 100 level.
What it can and can't do
What the user does: Nothing. Pages have no way to ask for this
It can
- See if audio is blocked by autoplay rules
- Tell when your audio output device changes
- Play muted video even if sound is blocked
- Set the volume of its own player
It cannot
- See your volume level from 0 to 100
- Get a volume number; the browser has no way to ask
- See the volume of other tabs or apps
- Change the system volume
Browser support
| Browser | Status | First version | Note |
|---|---|---|---|
| Chrome | Not supported | Not available | None |
| Edge | Not supported | Not available | None |
| Firefox | Not supported | Not available | None |
| Safari | Not supported | Not available | None |
| Safari on iPhone | Not supported | Not available | None |
| Chrome on Android | Not supported | Not available | None |
| Samsung Internet | Not supported | Not available | None |
How a site asks for it
| API | none |
| How access is granted | not-exposed |
| What the user sees | None |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | read fresh on every page load; nothing stored |
| How to take it back | not applicable |
| Inside an iframe | Readable from cross-origin iframes too (same values) |
Typical flow
- Page script reads the value
- No prompt is shown
Data you get
Shape: none
How often: static per session
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
proxy: autoplay policy | string | None | play() rejection reveals no user activation, not volume | Not listed |
proxy: devicechange event | string | None | fires when headphones or Bluetooth output connect (enumerateDevices count) | Not listed |
proxy: HTMLMediaElement.muted | string | None | only the element's own flag, 0 or 1 | Not listed |
proxy: volume property | string | None | element volume 0 to 1, not the system level | Not listed |
Technical limits
- Privacy and no legitimate need
The story
What it is
No tool tells a page how loud your device volume is.
For you
A website cannot see whether your volume is low or high. It can still see whether its own audio is muted or blocked by autoplay rules.
For makers
Volume is a private device setting. Browsers keep it out of reach. Sites rely on autoplay rules and user buttons instead.
Where you see it
| Type | Example | Apps |
|---|---|---|
| video | A streaming site wanted to warn when your volume is off and shows an unmute button instead. | YouTube |
| games | A browser game wanted the system volume to set sound levels and gives a volume slider. | None named |
| ads | A video advertiser wanted to measure audible ads and uses player mute state. | None named |
| music | A web music player wanted the device volume and shows its own volume control. | None named |
| education | An exam site wanted to detect silent rooms and cannot read volume. | None named |
| live | A live stream shows a tap to unmute button when autoplay is muted. | None named |
| security | A tracker wanted volume as a device clue and cannot get it. | None named |
Risks
- Muted state is visible to the page
Good uses and abuse
Legitimate uses
- None: the browser deliberately withholds it
Known abuse
- Sites attempt proxies to recover it
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 4 of 5 | How revealing the data is |
| Utility | 2 of 5 | How useful it is to honest apps |
| Friction | 3 of 5 | How much the user has to do |
| Fingerprint bits | 0 | Rough identifying entropy, when known |
Related capabilities
Related
- Media device kinds and counts. Can count your cameras, mics, and speakers without names before you allow access
Sources
How well checked: Based on official documentation.