Friday, May 28, 2010
Many Chrome extensions use browser actions as a notification area. Notifications can be very valuable to users, but there’s only so much a developer can do with an icon’s worth of pixels.
As it turns out, web sites have a great way to deliver non-modal message like these with the notifications API, which was first introduced in Chrome 4 for Windows.
The Gmail Notifier extension was an early adopter of notifications.
As of Chrome 5, we’re happy to announce that notifications are also available to extension developers.
When notifications are used from an extension, there are no permission prompts or infobar warnings. The experience is seamless - it just works.
To learn how to use the notifications API in your extension, review our documentation. We’ll be on the lookout for some great examples of desktop notifications to feature on the Chrome Extensions Gallery, so get cracking!