Google adds Sensor permission controls to Chrome

Martin Brinkmann
Mar 21, 2019
Google Chrome
|
8

Google added "Motion and light sensors" permission controls to Chrome Canary recently so that users of the web browser may control the functionality.

Browser makers like Mozilla or Google add new functionality to their browsers regularly. New APIs, the Sensor API is just one example, add new functionality that sites and applications may make use of.

APIs may expose data to sites and services, and may even give sites control over functionality. Web browsers like Firefox or Chrome support permissions that give users control over these features.

Sensor permissions are available in Chrome Canary only right now; the Android version and the desktop version supports the option.

Canary is a development version of Google Chrome; it takes months usually before features land in stable versions of the Chrome browser.

chrome sensor access blocked

Google added global and per-site Sensor access controls to the Chrome web browser which users of the web browser may use to control access to the Sensor API in the browser.

Access to Sensors is enabled by default.

chrome settings sensors

You may disable Sensors globally or on a per-site basis if you prefer that. Here is how you do that:

  1. Load chrome://settings/content/sensors in the Chrome address bar. Doing so opens the Sensor permissions in the browser.
  2. Toggle "Allow sites to use motion and light sensors" to enable or disable Sensors globally.
  3. Sites that you added to the allow or block list are displayed there as well.

Tip: You can manage permissions for other APIs and features by loading chrome://settings/content/. Most, e.g Microphone or Camera are set to "ask" which means that Chrome displays a prompt whenever it detects attempts to access these APIs.

chrome motion light sensors

The option is also available for individual sites. Just activate the icon that Chrome places in front of the web address to get started.

Chrome may display a direct option to allow or block motion or light sensors on a specific site. You may also access the Site settings by activating that link.

These display all permissions that Chrome supports. Changes that you may to the site permissions are valid only for the selected site. You may use the options to override global permissions, e.g. to allow a feature on a site or to block it.

motion light sensor controls

Closing Words

The option to block Sensor API access landed in Chrome Canary 75 and Google has not yet revealed when the feature will land in the stable version. Chrome 75 Stable could be that target, a release that is about 2-3 months away.

Now You: How do you handle site permissions in Chrome or other browsers? (via Genbeta / Techdows)

Summary
Google adds Sensor permission controls to Chrome
Article Name
Google adds Sensor permission controls to Chrome
Description
Google added "Motion and light sensors" permission controls to Chrome Canary recently so that users of the web browser may control the functionality.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Previous Post: «
Next Post: «

Comments

  1. Anonymous said on February 7, 2020 at 8:02 am
    Reply

    To Block, do I toggle to blue or grey?

  2. Hollie Dote said on November 22, 2019 at 8:45 am
    Reply

    as a web user, what are the benefit of blocking or allowing the sensors? i have a chromebook 15 and just noticed a couple of sites are set to block. one site is cbs all access. i have little computer knowledge so just trying to learn if i want the sensors blocking all of the sites i go to and if so does it disturb the functionality of the web site?

  3. Tom said on April 3, 2019 at 8:56 pm
    Reply

    I use Chrome and Firefox depending on the mood and permissions set to ask. Recently I was trying Eset and to my surprise it warned that Chrome (or a site) was trying to use the camera…. I set everything to block in the browsers and decided to use Kaspersky. To my surprise Chrome was flagged again…this time by Kaspersky…As I open the same sites on both browsers Firefox privacy policy looks a lot better.

  4. Borgy said on March 21, 2019 at 10:28 am
    Reply

    There are sensor controls in chrome:flags (I have all mine disabled.)

  5. ShintoPlasm said on March 21, 2019 at 8:31 am
    Reply

    What kind of website would even require access to such sensors?

    1. John Fenderson said on March 22, 2019 at 5:31 pm
      Reply

      @ShintoPlasm:

      I think this sort of thing is aimed less at traditional websites and more at being able to use the browser as if it were an operating system to allow web-based pseudoapplications like PWAs, etc.

    2. Martin Brinkmann said on March 21, 2019 at 9:15 am
      Reply
      1. Steve Nordquist said on December 17, 2019 at 5:42 am
        Reply

        Thanks for the demos! However I do wonder what persistence applies to phone Chrome APIs and why in blazes Google thought that would be cool to have it permitted by default.

        Asking as a runner who has had goodly second guessing on when I’d like to get major leg surgery on phone ads. Man, it was just a challenging run. Sheee…..

        A world of NO. And evidently yes as close as the URLbar.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.