November 2011
Intermediate to advanced
320 pages
10h 18m
English
The features listed below offer new input and output capabilities to web-based scripts.
Notification and window.notifications[271] APIs allow the creation of text-only or HTML-based, always-on-top pop-ups in the corner of the screen, allowing select web applications to gently notify users of important developments (such as a new mail message). User consent to receiving notifications is required on a per-site basis, limiting the risk of abuse. Nevertheless, care must be taken to properly communicate the origin of the tiny notification window and any dialogs or prompts it subsequently creates, an aspect that took some time to refine. The API is available only in WebKit today.
Several proposals have been ...
Read now
Unlock full access