How to Block Sensor Access (Motion/Light) Globally in Google Chrome

The Invisible Hardware Hook

Modern laptops and 2-in-1 tablets feature internal hardware sensors, including accelerometers (to detect motion and screen rotation) and ambient light sensors (to adjust screen brightness). Google Chrome features a “Sensors API” that allows web applications to directly read the raw data from these hardware chips. While intended for 3D web games or virtual reality interfaces, malicious websites can use microscopic changes in accelerometer data to fingerprint your specific device, track your physical movements, or determine if you are walking or sitting. To lock the browser inside a strict software sandbox, you must sever its connection to your physical hardware.

How to Block Sensor Access Globally

You can permanently lock the browser out of your motion and light sensors via the Site Settings.

  1. Open the Google Chrome desktop browser.
  2. Click the three vertical dots (â‹®) in the top right corner and select Settings.
  3. In the left-hand sidebar, click on Privacy and security.
  4. In the main window, click on Site settings.
  5. Scroll down to the bottom and click to expand Additional permissions.
  6. Click on Motion or light sensors.
  7. Under the “Default behavior” heading, select the radio button for “Don’t allow sites to use your device’s motion or light sensors.”

A Pure Software Environment

The change takes effect instantly. Google Chrome will completely sever its internal connection to the Windows or macOS sensor registry. The browser will instantly auto-reject every single background request from any website attempting to read your gyroscope, accelerometer, or ambient light data. Your web browser is now completely blind to the physical world, neutralizing advanced hardware fingerprinting tracking scripts.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.