Idle Detection

idle
Low RiskCategory: System & PerformanceView Official Docs

Technical Context

Grants access to the chrome.idle API to detect when the user is active, idle, or has locked their screen. This allows extensions to adjust behavior based on user presence without tracking specific activities.

What This Means For You

The extension can tell if you are actively using your computer or have stepped away. This helps it avoid interrupting you or save resources when you are not at your desk.

Related APIs

This permission enables access to these Chrome APIs:

chrome.idle

Common Use Cases

  • Productivity trackers
  • Auto-pause features
  • Security tools

How to Declare in manifest.json

Add the "idle" permission to your extension manifest:

{
  "manifest_version": 3,
  "name": "My Extension",
  "permissions": [
    "idle"
  ]
}

Related Permissions