About Notifications for Websites
Notifications are concise, unobtrusive messages that appear in the top-right corner of the screen, alerting Mac users about a new message or a completed task. As a web developer, you can configure your website to send notifications to Mac users, even if you don’t have a native Cocoa app.
There are two kinds of notifications for websites:
Safari Push Notifications, which is an Apple-exclusive technology and triggered remotely using Apple Push Notification service (APNs).
At a Glance
This document explains the key concepts of notifications for websites and how to implement them in your ecosystem.
Users Control Their Notifications
Review the preferences available to users to better understand how to implement your notification service.
Safari Push Notifications Are Deployed from Your Server
In OS X v10.9 and later, you can send push notifications to your website users. Safari doesn’t need to be open for the notification to appear, and your visitors have control over their notification settings on a per-website basis.
WWDC 2013: Implementing OS X Push Notifications for Websites shows best practices for implementing push notifications for websites.
Local and Push Notification Programming Guide describes how to send push notifications to iOS and OS X apps.
Safari Web Content Guide describes how to create websites for Safari.