Alarms

alarms
Low RiskCategory: System & PerformanceView Official Docs

Technical Context

Provides access to the chrome.alarms API for scheduling code execution at specific times or intervals. This enables periodic background tasks without requiring the service worker to remain constantly active.

What This Means For You

The extension can set timers to perform tasks at specific times or on a regular schedule. This allows features like periodic sync, reminders, or scheduled updates to work reliably.

Related APIs

This permission enables access to these Chrome APIs:

chrome.alarms

Common Use Cases

  • Reminder apps
  • Sync tools
  • Periodic updaters

How to Declare in manifest.json

Add the "alarms" permission to your extension manifest:

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

Related Permissions