views:

535

answers:

1

Hi Folks,

I'm wondering if there is any build-in support for the HTML5 Notification feature in Gecko browsers so far? Maybe some hidden developer thingy ?

I'm aware of WebKits window.webkitNotifications which works great, so, is there a Firefox implementation ?

update

After searching and reading some w3c HTML5 specs, I'm maybe a little bit off here. I can't find any Notification feature anywhere there. Am I facing wrong facts here? Is that just a "very own webkit implementation" ?

+4  A: 

To start with your second question: no, it's not a WebKit-specific feature. But although a site called ‘html5rocks’ contains a demo of this, Notifications are still not part of HTML 5. There was a discussion about them on the WHATWG mailing list this year (read the messages with subject ‘Notification API’). They are mentioned again in a later message.

So, what do we have? A description of the Notification API in Chromium. A W3C Editor's Draft of a specification, based on Chromium's API (but independent of HTML 5).

Mozilla mentioned Notifications as part of their Prism project. E.g., beginning with Prism 0.9 Notifications are a part of Prism:

The first desktop integration features made an appearance. These included popup notifications and dock badging. A special JavaScript file called webapp.js contains Prism-specific code for customizing a web app.

You can read on on the Prism Wiki:

Prism is available as an extension for Firefox 3 or as a standalone application.

And from the FAQ:

Prism is the codename for the project, and if the functionality provided by Prism becomes a product or is integrated into other products (like Firefox), then it won't necessarily continue to be called by this codename.

Marcel Korpel
Why is this downvoted? What's the problem with my answer?
Marcel Korpel
I'm a little bit disappointed that safari 5 does still NOT implement the webkitNotifications. I think that's a great feature for modern web applications.
jAndy
@jAndy: That's a shame, indeed! (But I don't think that's an answer to my downvote question ;)
Marcel Korpel
That's true, I obviously gave you a +1 along with the correct answer, but I'm interested aswell who downvoted it. If there is anything wrong here he should let us know.
jAndy