My favorites | Sign in
Project Home Downloads Issues Source
Project Information
Members
Featured
Downloads
Links

Firefox extension to add HTML5 desktop notifications support

This extension adds desktop notifications to Firefox. It provides to each webpage an API described by Google Chrome at http://www.chromium.org/developers/design-documents/desktop-notifications/api-specification

With this extension installed, you can now use window.webkitNotifications in your webpage like in Google Chromium.

I need you !

I need some help with the icon of the extension, which is really ugly ! If you're good at those stuffs, please suggest somethings using this link : http://code.google.com/p/ff-html5notifications/issues/detail?id=40

Usage example

For instance, this extension can display notifications with GMail and GChat. You will have a message "Click here to activate desktop notifications" : click and authorize. Then, modify parameters under the general settings tab.

Download

Download latest version

Current version is 1.0.8

Alternate server

You can also download the extension on Mozilla addons website (not always up to date) : https://addons.mozilla.org/firefox/addon/html-notifications/

Note for Mac OS X users : HTML notifications are currently unsupported, and simple notifications need Growl to work (download Growl at http://www.growl.info/)

Note for Linux users with libnotify (most of distributions) : extension mail fail to work sometimes. This can be solved by disabling images. For more informations, see Issue 32

Features

  • Create simple notifications : with icon, title and description
  • Support HTML notifications
  • Request permission using notification box
  • Support onclose, ondisplay and onerror notification attributes
  • Implement close() method
  • Disable notification auto-hiding
  • Localization support
  • Support private browsing mode

TODO

  • Support a preference checkbox "ignore private browsing mode"
  • Support notification stack (display new notification above/below the previous ones)
  • Implement postMessage for reflection iframe

Will not

  • Support auto-close

Notes

In HTML notifications, window.opener is a reflection iframe. It is not the window that has called the show() method. Only the focus() method can be used.

Contact

If it's about a bug, a feature, or something else concerning directly the extension, please use the Issues Link

To contact me, please use the contact form at my blog : http://blog.cyril.me/2010/08/notifications-html5-firefox/

Powered by Google Project Hosting