OLD | NEW |
---|---|
1 <h1>Desktop Notifications</h1> | 1 <h1>Desktop Notifications</h1> |
2 | 2 |
3 <p class="warning"><b>Warning:</b> | |
4 The <code>webKitNotifications.createHTMLNotification()</code> in the | |
dewittj
2013/04/10 18:15:05
probably need the word "function" in here somewher
| |
5 <a href="http://www.chromium.org/developers/design-documents/desktop-notificatio ns/api-specification">web notifications API</a> has been deprecated. | |
6 The new <a href="http://www.w3.org/TR/notifications/">web notifications API</a> only allows text. | |
7 <a href="notifications.html">Chrome notifications API</a> | |
8 will be promoted to stable soon and | |
9 web notifications will be updated | |
10 to use the new rich notifications format. | |
11 </p> | |
12 | |
3 <p> | 13 <p> |
4 Use desktop notifications to notify users that something | 14 Use desktop notifications to notify users that something |
5 important has happened. | 15 important has happened. |
6 Notifications appear outside the browser window. | 16 Notifications appear outside the browser window. |
7 As the following snapshots show, | 17 As the following snapshots show, |
8 the details of how notifications look | 18 the details of how notifications look |
9 and where they're shown depend on the platform. | 19 and where they're shown depend on the platform. |
10 </p> | 20 </p> |
11 | 21 |
12 <img src="{{static}}/images/notification-windows.png" | 22 <img src="{{static}}/images/notification-windows.png" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
105 and for help in viewing the source code, | 115 and for help in viewing the source code, |
106 see <a href="samples.html">Samples</a>. | 116 see <a href="samples.html">Samples</a>. |
107 </p> | 117 </p> |
108 | 118 |
109 <p> | 119 <p> |
110 Also see html5rocks.com's | 120 Also see html5rocks.com's |
111 <a href="http://www.html5rocks.com/tutorials/notifications/quick/">notifications tutorial</a>. | 121 <a href="http://www.html5rocks.com/tutorials/notifications/quick/">notifications tutorial</a>. |
112 Ignore the permission-related code; | 122 Ignore the permission-related code; |
113 it's unnecessary if you declare the "notifications" permission. | 123 it's unnecessary if you declare the "notifications" permission. |
114 </p> | 124 </p> |
OLD | NEW |