Skip to content

Safari can now push web notifications even when a website isn’t open

2025 May 13
by RSS Feed

Apple’s Safari browser on the Mac now supports Declarative Web Push to display push notifications even if a website isn’t open in any tabs.

Safari on the Mac has adopted Declarative Web Push, which lets web developers request a web push subscription and display notifications without requiring an installed service worker, as recently detailed on the WebKit blog.

Declarative Web Push is more energy efficient as there’s no overhead from service workers. It’s also more private by design, and easier to implement by developers.

Safari 15.5 for Mac adopts Declarative Web Push

Isntead of JavaScript which taxes the battery, this technology leverages a JSON format so that web browsers can directly display notifications. Interestingly, anti-tracking measures like Safari’s built-in Intelligent Tracking Prevention feature cannot disable Declarative Web Push on websites you haven’t visiting in a while.

Even if you remove a web app from the Home Screen using the app offloading feature, Declarative Web Push can still deliver and display unmodified notifications for the removed web app.

“This is quite similar to how Declarative Web Push notifications work on iOS after the website’s service worker JavaScript has been removed either by the user or by Intelligent Tracking Prevention,” according to the WebKit team. “The modification of an incoming push message is no longer possible, but the unmodified notification can still be displayed.”

Declarative Web Push in mobile Safari

Declarative Web Push has been available in the mobile Safari version preinstalled on the iPhone and iPad since iOS 18.4 and iPadOS 18.4.

On the Mac, the feature requires Safari 18.5, which ships as part of the macOS 15.5 update, released yesterday. Safari 15.5 is also available as a standalone download through the Software Update mechanism on older Macs using that are still running macOS Sonoma and macOS Ventura.

Updating your iPhone, iPad and Mac to the above operating systems is enough for Safari to take advantage of Declarative Web Push technology. Websites that deliver web-baseD push notifications must be updated with support for Declarative Web Push. For further information, peruse the WebKit Declarative Web Push technical explainer by the WebKit team.

Source link: https://www.idownloadblog.com/2025/05/13/safari-mac-declarative-web-push-macos-15-5-support/

Leave a Reply

Note: You may use basic HTML in your comments. Your email address will not be published.

Subscribe to this comment feed via RSS