This API is available on Firefox or Firefox OS for installed or higher privileged applications.
Returns a MozAlarmsManager
object you can use to schedule notifications or applications to be started at a specific time.
Syntax
var alarms = window.navigator.mozAlarms;
Value
navigator.mozAlarms
is a MozAlarmsManager
object.
Specification
Specification | Status | Comment |
---|---|---|
Web Alarms API | Working Draft | Defines the extention for the navigator object. |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | No support | No support | No support | No support | No support |
Feature | Android | Firefox OS | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | No support | 1.0[1] | No support | No support | No support | No support |
[1] This API is currently available on Firefox OS only for any installed applications. The current specification for this API is not considered stable enough to unprefix the API yet.