Webkit Notifications pitfalls
Want to test out the HTML5 Notifications in Webkit browsers? Don't fall for these 2 issues:
- webkitNotifications.requestPermission() needs to be initiated by a user action (i.e. button click)
- It won't work in just a HTML file. You need some kind of server entitiy (i.e. wamp/xampp/mamp)
Written by Gerben Jacobs
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Notifications
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#