Shared publicly  - 
Deprecating HTML Notifications in Chrome Extensions

With the release of the M28 developer channel of Chrome, we are officially deprecating HTML-based notifications for Chrome Extensions in favor of the new Rich Notifications Chrome API. Developers that are using HTML notifications should migrate to the newer Rich Notifications API, as support for the existing createHTMLNotification() feature will stop working in a future release of Chrome. At this time, the Rich Notifications API only works on Windows and Chrome OS, but support for Linux and MacOS are coming soon. As the API is enabled on each platform, the existing HTML Notifications API will be removed for that platform.

Why the change? When the W3C introduced the web notifications API, they originally specified two flavors: plain text notifications and richer HTML-based ones. The W3C has since removed the HTML option from the spec. To be more consistent with the W3C API while still supporting a richer notification format, we made the decision to follow their example and remove support for HTML notifications in Chrome Extensions. 

Have questions? You can always contact us on the chromium-extensions forum and our G+ page.
Warning: Currently this API only works on ChromeOS and Windows. Usage. To use this API, call the create method, passing in the notification details via the options parameter: chrome.notifications.crea...
Joe Marini's profile photoRomain Vallet's profile photopatrick naly's profile photo
Hi Joe,
I use HTML notifications in my extension for update notifications. I add a "disable notifications" checkbox in the HTML to allow users to turn them off. Is it possible to add buttons or checkboxes to the new rich notifications?
Yes, there are provisions for adding buttons. The sample app shows how to do this.
Add a comment...