isvadg
Last Updated: February 25, 2016
·
298
· gerbenjacobs
83e5ba145326da0edcc404bfff584df5

Webkit Notifications pitfalls

Want to test out the HTML5 Notifications in Webkit browsers? Don't fall for these 2 issues:

  1. webkitNotifications.requestPermission() needs to be initiated by a user action (i.e. button click)
  2. It won't work in just a HTML file. You need some kind of server entitiy (i.e. wamp/xampp/mamp)
Say Thanks
Respond