brunobord / pomodorock

A single webpage pomodoro timer / tracker that keeps ZERO KNOWLEDGE of your data on the server-side.
http://brunobord.github.io/pomodorock
Do What The F*ck You Want To Public License
18 stars 5 forks source link

Use HTML5 notifications to warn when a pomodoro ends #8

Closed nfroidure closed 11 years ago

brunobord commented 11 years ago

mmm... I wish this could work. Looks like it's not supported by chrome, safari and firefox: http://www.html5rocks.com/en/tutorials/notifications/quick/

even window.webkitNotifications.requestPermission();doesn't trigger anything...

nfroidure commented 11 years ago

Using requestPermission will only insside a user interaction event callback (click on a button)

brunobord commented 11 years ago

interesting. will investigate later on.

brunobord commented 11 years ago

done, see notifications branch: https://github.com/brunobord/pomodorock/tree/notifications has been merged in the main branch.