We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE

Gets all active alarms for the extension.

This is an asynchronous function that returns a Promise.


var getAlarms = browser.alarms.getAll()



Return value

A Promise that will be fulfilled with an array of Alarm objects. Each of these represents an active alarm that belongs to the extension. If no alarms are active, the array will be empty.

Browser compatibility

ChromeEdgeFirefoxFirefox for AndroidOpera
Basic support Yes No4548 Yes


function gotAll(alarms) {
  for (var alarm of alarms) {

var getAlarms = browser.alarms.getAll();


This API is based on Chromium's chrome.alarms API.

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.

Document Tags and Contributors

 Contributors to this page: suterj, casusa2525, andrewtruongmoz, wbamberg, Makyen
 Last updated by: suterj,