Alarms
alarmsTechnical 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.alarmsCommon 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
Storage
storageThis acts as a digital filing cabinet where the extension saves your personal settings and preferences. It ensures your custom configurations stay the same every time you open Chrome without slowing down your computer.
Unlimited Storage
unlimitedStorageThe extension can save more data on your computer than the usual limit allows. This is useful for tools that need to work offline or save lots of information locally.
Idle Detection
idleThe 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.
Power Management
powerThe extension can keep your screen awake and prevent your computer from going to sleep. This is helpful when watching videos or during presentations.
System CPU Info
system.cpuThe extension can see basic information about your computer's processor, like how many cores it has. This helps it optimize its performance based on your hardware.