Description
Use the chrome.alarms API to schedule code to run periodically or at a specified time in the future.
Permissions
alarmsTo use the browser.alarms API, declare the "alarms" permission in the manifest:
{
"name": "My extension",
...
"permissions": [
"alarms"
],
...
}
Concepts and usage
To ensure reliable behavior, it is helpful to understand how the API behaves.