Skip to Content
Platform.Ontology

System volume level

No API tells a page how loud the device volume is.

Blocked for appsDevice detailsAudioWeb browsersWhen the page loadsWhile you use it

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

BrowserStatusFirst versionNote
ChromeNot supportedNot availableNone
EdgeNot supportedNot availableNone
FirefoxNot supportedNot availableNone
SafariNot supportedNot availableNone
Safari on iPhoneNot supportedNot availableNone
Chrome on AndroidNot supportedNot availableNone
Samsung InternetNot supportedNot availableNone

How a site asks for it

APInone
How access is grantednot-exposed
What the user seesNone
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsread fresh on every page load; nothing stored
How to take it backnot applicable
Inside an iframeReadable from cross-origin iframes too (same values)

Typical flow

  1. Page script reads the value
  2. No prompt is shown

Data you get

Shape: none
How often: static per session

FieldTypeUnitRangePrecision
proxy: autoplay policystringNoneplay() rejection reveals no user activation, not volumeNot listed
proxy: devicechange eventstringNonefires when headphones or Bluetooth output connect (enumerateDevices count)Not listed
proxy: HTMLMediaElement.mutedstringNoneonly the element's own flag, 0 or 1Not listed
proxy: volume propertystringNoneelement volume 0 to 1, not the system levelNot 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

TypeExampleApps
videoA streaming site wanted to warn when your volume is off and shows an unmute button instead.YouTube
gamesA browser game wanted the system volume to set sound levels and gives a volume slider.None named
adsA video advertiser wanted to measure audible ads and uses player mute state.None named
musicA web music player wanted the device volume and shows its own volume control.None named
educationAn exam site wanted to detect silent rooms and cannot read volume.None named
liveA live stream shows a tap to unmute button when autoplay is muted.None named
securityA 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

ScoreValueMeaning
Sensitivity4 of 5How revealing the data is
Utility2 of 5How useful it is to honest apps
Friction3 of 5How much the user has to do
Fingerprint bits0Rough identifying entropy, when known

Sources

How well checked: Based on official documentation.

On this page