Using the Notifications API in HTML5

preview_player
Показать описание
Introduced in HTML5, the Notifications API allows web pages to control the display of system notifications to the end user. Designed to be compatible with the existing notification systems, across different platforms, the API is a good solution to replace the old school alert function.

Рекомендации по теме
Комментарии
Автор

i am developing a website where the admin has a form with (title, message, icon) fields and a send button and the users of the website should receive the notification does this method work? here it shows the user is activating the notification not receiving it

howtocaveman
Автор

hi i want to ask u about this code why when i clicked on the button it does not show anything ?

farhanazuki
Автор

Hello...by downloading the code and try to run in local system i am unable to see the notification message when clicking on "Show Notification" button.

srinivasmaredla
Автор

Thanks Sylvain Saurel. You just made it so easy for me :)

jillianmcadams
Автор

Why doesn't this work on my smart phone?

senju