Skip to content

API in Notifications

Notification triggers (showTrigger)

Published

Limited availabilityNot supported in Chrome (Desktop)Explainer

Notification triggers were a Chrome proposal for scheduling persistent notifications at a future time, with no page open and no push message. The proposed showNotification() option, showTrigger, held a TimestampTrigger that told the browser when to display the notification. Chrome’s documentation states that development has ended. The feature remains behind the experimental flag in Chromium, Chrome Platform Status records no signal from Firefox and WebKit, and MDN’s showNotification() reference does not list showTrigger.

registration.showNotification(title, { showTrigger: new TimestampTrigger(timestamp) })
registration.getNotifications({ includeTriggered: true })

Both forms exist only in Chromium with chrome://flags/#enable-experimental-web-platform-features enabled (Notification Triggers, developer.chrome.com). The feature’s Chrome Platform Status entry reads “In developer trial (Behind a flag)” (chromestatus.com); the origin trials Chrome ran for it were not followed by a launch.

Parameter Type Meaning
showTrigger TimestampTrigger When to display the notification. The constructor takes a DOMTimeStamp in milliseconds since the epoch, read back as trigger.timestamp.
includeTriggered boolean, on getNotifications() options Include scheduled notifications that have not yet been displayed, so a page can list or cancel them with notification.close(). Default false.

The proposal also discussed a notificationclose for cancelled triggers and a limit on how far ahead a trigger may be set; neither was specified.

None.

No browser ships the option. Chromium keeps the implementation behind the experimental features flag with the status above; Chrome Platform Status records no signal from Firefox and WebKit, and MDN’s reference for showNotification() lists actions, badge, body, data, dir, icon, image, lang, navigate, renotify, requireInteraction, silent, tag, timestamp, and vibrate without showTrigger. The stated reason for stopping was the inability to provide consistent and reliable behaviour across platforms, which is the same constraint that limits periodic background sync.

Scheduling and cancelling a trigger require the flag. Use server-side scheduling for production.

With the flag enabled, the trigger is one extra option. The tag lets a later call replace the scheduled notification instead of adding a second one.

async function scheduleReminder(registration, when, title) {
await registration.showNotification(title, {
tag: `reminder-${when}`,
body: 'Starts in 10 minutes',
showTrigger: new TimestampTrigger(when - 10 * 60 * 1000),
});
}

The call stores the request. Chrome’s documentation says that on desktop the trigger fires only if Chrome is running, and that on Android it fires regardless.

getNotifications({ includeTriggered: true }) returns scheduled entries alongside displayed ones; closing one before its trigger cancels it.

async function cancelReminder(registration, when) {
const pending = await registration.getNotifications({ includeTriggered: true });
for (const notification of pending) {
if (notification.tag === `reminder-${when}`) notification.close();
}
}

Without the flag the option object is ignored and pending contains only displayed notifications, so the loop finds nothing to cancel.

Detecting the option and falling back to server-side scheduling

Section titled “Detecting the option and falling back to server-side scheduling”

The test is 'showTrigger' in Notification.prototype, and it is false wherever the experimental flag described below is off, which is the default in every shipping browser. The fallback is to store the schedule on the server and deliver it with Web Push; the explainer notes that delivery at a precise time is not guaranteed, because connectivity and device sleep can delay it.

async function remindAt(registration, when, title) {
if ('showTrigger' in Notification.prototype) {
return registration.showNotification(title, { showTrigger: new TimestampTrigger(when) });
}
// not supported anywhere without a flag: schedule on the server and deliver by Web Push
await fetch('/api/reminders', { method: 'POST', body: JSON.stringify({ when, title }) });
}

The server-side path depends on connectivity at delivery time, which is the limitation the proposal set out to remove and the reason it is still occasionally requested.

Specifications

SpecificationStatus
Notification TriggersExplainer
  • Legend
  • Yes
  • Partial
  • Flag
  • No
  • Unknown
Browser / PlatformSupportVersionsConfidenceSourceNotes
Chrome (Desktop)#No—mediumsource12
  1. Never shipped in Chrome: Chrome Platform Status lists the feature's Launch milestone as "Not started" after completing an explainer and two origin trials (Chrome 80-83 and 86-88); Chrome's own documentation confirms development has ended.
  2. This row is sourced from Chrome's own status page and proves Chrome's status only; it makes no claim about any other browser engine.

Source data: /compatibility/notification-triggers.json · Global usage: 0 % (StatCounter 2026-09, CC BY-SA 4.0)

Source: spec · MDN · Last verified 2026-09-03 · Confidence: medium (computed from sources)

Cite this table

Notification Triggers compatibility data — OpenPWA · Verified 2026-09-03 · CC BY 4.0 · JSON

When reusing compatibility data, keep the attribution, identify your changes and check each row’s original source. This citation excludes market-share and reach figures, which use CC BY-SA 4.0.