News for hackers. Stuff that matters.
Re:Gmail gets desktop notifications (if you're a Chrome user) by jjcm on Wednesday January 26, 2011 @07:41PM (#2146005)
Just noticed this update to gmail a few minutes ago. Looks like it's a webkit feature though, and only chrome specific for the time being.

Check some example code here: http://www.210computing.com/google/chrome_notifications.html

And the draft API here: http://www.chromium.org/developers/design-documents/desktop-...

Re:Gmail gets desktop notifications (if you're a Chrome user) by bradmccarty on Wednesday January 26, 2011 @07:54PM (#2146036)
Noticed that, as well. Interesting that the blog post from Google says that they are trying to make this a feature of the "standard Web platform."

http://gmailblog.blogspot.com/2011/01/desktop-notifications-...

Re:Gmail gets desktop notifications (if you're a Chrome user) by aphexairlines on Wednesday January 26, 2011 @11:02PM (#2146527)
The last.fm music player chrome extension uses this to pop up track names when they start playing: http://chrome-music.tumblr.com/
Re:Gmail gets desktop notifications (if you're a Chrome user) by woogley on Wednesday January 26, 2011 @08:10PM (#2146094)
Interesting timing. tdfx just asked for this 8 hours ago. http://news.ycombinator.com/item?id=2143881

What powerful influence!

Re:Gmail gets desktop notifications (if you're a Chrome user) by albemuth on Wednesday January 26, 2011 @08:42PM (#2146180)
They should have gone for growl integration on OS X, that's why I disabled it.
Re:Gmail gets desktop notifications (if you're a Chrome user) by X-Istence on Wednesday January 26, 2011 @11:41PM (#2146611)
Growl would have been infinitely better in that I can then set up what the notifications look like, how long they linger on my screen and the font size and whatnot.

Not sure why didn't go with Growl instead of rolling their own...

Re:Gmail gets desktop notifications (if you're a Chrome user) by gmurphy on Thursday January 27, 2011 @12:33AM (#2146729)
Growl is great for all the reasons you state, but Chrome doesn't use it because Growl doesn't allow HTML, and it would require us to ship Chrome with Growl for all the users who don't have it.

HTML notifications can be powerful because they allow you to include live content (video of the person attempting to video chat with you) and actions (e.g. archive, reply buttons) if you choose.

It's not inconceivable that someone could write something that suppressed and stripped the text out of a Chrome notification and presented it in a Growl notification.

Re:Gmail gets desktop notifications (if you're a Chrome user) by garply on Wednesday January 26, 2011 @08:00PM (#2146068)
Does this work on Linux?
Re:Gmail gets desktop notifications (if you're a Chrome user) by daviding on Wednesday January 26, 2011 @08:25PM (#2146140)
I haven't seen it on Gmail and Chrome 10.0.642.2 dev yet, but the underlying webkit does work on Ubuntu et al.

You can test the feature in Chrome here:

http://slides.html5rocks.com/#notifications-api

edit: Just got the permission banner in gmail now - works fine.

Re:Gmail gets desktop notifications (if you're a Chrome user) by lpolovets on Wednesday January 26, 2011 @08:42PM (#2146179)
Yes (I'm on Ubuntu 10.04)