HTML5 Web Notifications
You have disabled notifications for me. To be able to receive notifications, you first have to enable it in the settings of your browser - see also below for more info.
If you would like to receive notifications, click the button below.
Notifications are enabled.
If permissions are granted, click the button below to start the madness.
W3C draft: http://www.w3.org/TR/notifications/
Chromium API draft: http://www.chromium.org/developers/design-documents/desktop-notifications/api-specification
Firefox and Chrome support the W3C API. Chrome also supports an older API. Some interesting things:
- In Firefox it is allowed to call
requestPermission() without a user action, in Chrome this is not allowed.
- In Chrome you can check for permission with
webkitNotifications.checkPermission(), in Firefox you can only check the permission in the callback of the
- To see permissions in Chrome: chrome://settings/contentExceptions#notifications.
- In Firefox, you can only delete permissions in the Settings window (check Site Preferences).