Xopus

Main Menu

  • Schemas
  • CSS
  • Chrome
  • Firefox
  • Fund

Xopus

Header Banner

Xopus

  • Schemas
  • CSS
  • Chrome
  • Firefox
  • Fund
Chrome
Home›Chrome›How to prevent sites from requesting inactivity detection API permissions in Chrome

How to prevent sites from requesting inactivity detection API permissions in Chrome

By Warren B. Obrien
September 28, 2021
0
0


Google introduced a controversial API in Google Chrome 94 this month. Called the Idle Detection API, it allows sites to query the device to see if it is inactive or in use. A device goes into an inactive state if it is not actively used for a period of time; the API can request the inactive state of components or events, such as keyboard, mouse, or screen saver.

Google suggests that sites could use it for a number of useful applications, such as revealing if chat contacts are available, automatically resetting kiosk systems after a period, or performing expensive calculations only if the user does not. is not inactive.

Critics of the inactivity detection API, Mozilla and Apple in particular, point out that it has the potential for abuse. While it is true that users must grant permissions to sites before access to the inactivity detection API is granted, sites can convince users to grant permission. Engineers at the companies believe the API can be abused for gloomy usage patterns or to perform expensive calculations when the device is idle.

Mozilla and Apple have decided that Firefox and Safari will not support the inactivity detection API, at least not in its current form. Chrome users and those using Chromium-based browsers will get the API. Some companies can turn it off in their browsers, some can’t.

Chrome is a prime example. The API is already implemented in Chrome 94 Stable, and users can see requests from sites to give them permission. The default setting is set to “ask,” which means sites will ask for user permission each time a site is visited. Sites can be blacklisted or whitelisted, to block them permanently or allow API access without requests.

Chrome users can automatically block all requests by changing the site’s default permission state. Site requests will be refused automatically if the change is made. The same setting may also work in other Chromium based browsers that have implemented the API and have not disabled it.

chrome disable inactivity detection api

Here’s what to do:

  1. Load chrome: // settings / content / idleDetection in the web browser’s address bar.
  2. Change the default behavior state from “Sites can ask to know when you are actively using your device” to “Do not allow sites to know when you are actively using your device.”

Chrome will no longer display permission request prompts after making the change. Just return the preference if you need to reset it. Another option you have is to add sites to the allow list, as they can then use the API without a request prompt.

Now you: What is your opinion on the Idle Detection API? (via Techdows)

Summary

How to prevent sites from requesting inactivity detection API permissions in Chrome

Article name

How to prevent sites from requesting inactivity detection API permissions in Chrome

The description

Learn how to prevent sites from requesting device sleep status in the Google Chrome web browser.

Author

Martin Brinkmann

Editor

Ghacks Technology News

Logo

Ghacks Technology News

Advertising


Related posts:

  1. New Chromebook Perk Gives 50% Off Stadia Premiere Edition Bundle in UK
  2. 7 compelling Google Chrome 90 features that improve your browsing
  3. Top 10 best space pens with chrome clips 2021 – Bestgamingpro
  4. Google Chrome will soon load pages faster on Windows, Linux and macOS
Tagsgoogle chromeweb browser

Recent Posts

  • This Keyboard Shortcut Can Undo Your Most Annoying Browser Mistake
  • UCSF and I-SPY 2 breast cancer researchers develop newly redefined breast cancer response subtypes
  • India-based web design company promises free food to children in need
  • Global Chromium Powder Market Size 2022 Booming By Share, Growth Size, Scope, Key Segments And Forecast To 2029 – Industrial Computing
  • Google Search Adds Author Markup Best Practices

Archives

  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021

Categories

  • Chrome
  • CSS
  • Firefox
  • Fund
  • Schemas
  • Terms and Conditions
  • Privacy Policy