Entry 09 of 17
Sensor availability — the shape of the hardware, before a sample
Sensor availability is what a page learns from which sensor interfaces your browser exposes — `Accelerometer`, `Gyroscope`, `Magnetometer`, `AmbientLightSensor`, and whether motion and orientation listeners are accepted — before any sample is taken and without a prompt. On a desktop machine the constructors can exist while no sensor does, and the page learns that too.
What does a page learn from sensors it never reads?
A page does not need a sensor reading to learn from your sensors. The list of sensors your build admits to having is already a description of the machine.
The Generic Sensor API exposes constructors — Accelerometer, Gyroscope, Magnetometer, AmbientLightSensor — whose mere presence on window differs by engine, by platform, and by whether experimental features are enabled. Separately, DeviceMotionEvent and DeviceOrientationEvent may exist and may accept listeners even where the Generic Sensor constructors do not.
Presence is not the same as data. On a desktop machine the constructors may exist while no sensor does, and the page learns that too. The combination — constructors present, motion events accepted, no samples ever delivered — is a recognisable desktop-Chromium signature, and its absence is an equally recognisable Gecko or WebKit signature.
This site checks for the existence of the constructors, whether a motion listener is accepted, and the permission state for the sensor names the engine will answer. It starts no sensor and takes no sample. On mobile Safari, taking a sample would require calling requestPermission from a user gesture, which this site does not do.
What availability narrows you to
- Which sensor interfaces the build exposes, which is an engine and channel signal.
- Whether motion and orientation events are accepted, which separates desktop from mobile more reliably than a user agent string does.
- Sensor permission states for engines that make them queryable, without a prompt.
Is sensor exposure anything a VPN can affect?
A tunnel is irrelevant here in the strictest sense: nothing on this row is transmitted, requested or negotiated. The information is the shape of your build, read locally.
The reason it belongs on a leak test at all is the desktop-versus-mobile question. Motion and orientation event acceptance separates the two more reliably than a user agent string does, and a user agent claiming a phone on a build that refuses motion listeners has contradicted itself in a way no address change touches.
No sample is taken by this site under any circumstance. Availability and permission state are recorded; no sensor is ever started, and on mobile Safari taking a sample would need a requestPermission call from a gesture, which this site does not make.
Which engines ship the Generic Sensor API
| Engine | What it does today |
|---|---|
| Chromium | Exposes the Generic Sensor constructors on desktop and mobile; sensor permission names are queryable and typically report granted for the low-risk motion sensors. |
| Firefox | Does not ship the Generic Sensor constructors. DeviceOrientationEvent exists on platforms with the hardware, and Resist Fingerprinting suppresses the event stream. |
| Safari | No Generic Sensor API. Motion and orientation are available on iOS only after requestPermission is granted from a user gesture. |
| Tor Browser | Follows Firefox with Resist Fingerprinting active, so no sensor interface is exposed and the row reports clear. |
What can be done about sensor exposure
On Chromium there is no user-facing switch for the constructors' existence; it is part of the build.
Where sensor permission states are queryable, keep them at their default rather than granting sensor access to sites that ask for it opportunistically.
An engine that does not implement the API cannot leak it, which is the honest reason this row reads clear on Gecko builds.
What the mitigation costs
Nothing to configure on the engines that expose the surface. Switching engine to remove it is a much larger decision than this vector alone justifies.
How to check which sensor interfaces you expose
Nothing below depends on this site. These are the checks that produce the same answer in any browser, so the row above can be argued with rather than believed.
- In a console:
'Accelerometer' in window,'Gyroscope' in window,'Magnetometer' in window,'AmbientLightSensor' in window. Four property lookups, no permission, no prompt. - Then
'ondevicemotion' in windowand'ondeviceorientation' in window. These can be true on builds where the Generic Sensor constructors are absent, which is exactly the Gecko and WebKit case. - On Chromium,
navigator.permissions.query({ name: 'accelerometer' })resolves with a state; on other engines it rejects. That difference is the same one the permission vocabulary row reads. - Compare the result against what your user agent claims about your platform. Constructors present, motion accepted, no samples ever delivered is a recognisable desktop-Chromium signature — and it should match the platform you are presenting as.
Browser sensor questions
Asked often enough about this vector to be worth answering on the entry itself.
- Can a website use the sensors on my phone without permission?
- It cannot take readings without one on a current build, but it can see which sensor interfaces exist and, on Chromium, query their permission states silently. Availability is the disclosure this row is about; the samples are a separate and better-protected thing.
- Why does my desktop browser expose accelerometer interfaces?
- Because the constructors are part of the engine build rather than a reflection of your hardware. Chromium ships them on desktop and mobile alike, so the interface exists and simply never delivers a sample — which is itself a recognisable answer.
- Does Firefox leak sensor data?
- Firefox does not ship the Generic Sensor constructors at all, and Resist Fingerprinting suppresses the device orientation event stream. This row reads clear on those builds for the honest reason that an engine which does not implement an API cannot leak it.
- Does this site take a sensor reading?
- No accelerometer, gyroscope, magnetometer or ambient light reading is taken anywhere on this site. No sensor is started at any point.
Entry 09 · schedule edition 1.1.0, effective 2026-10-13, supersedes none. Per-engine notes reviewed 2026-08-12 against documentation for Chromium 141, Firefox 145, Safari 19.2, Tor Browser 14.5; they are compiled from vendor documentation rather than produced by a test run here.