Push.js是一个Javascript开发的快速桌面通告解决方案,这个通告API允许 Chrome, Safari, Firefox, and IE 9+等浏览器推送通告到用户桌面。
DEMO见:http://nickersoft.github.io/push.js/demo.html#
link
option, where passing in a relative URL will enable mobile notifications to automatically open the URL when clicked
serviceWorker.js
(previously sw.js
) must be in the same folder as Push when this option is used.gitignore
yarn.lock
file (info on what that is and why it's important can be found here)本站原创,转载时保留以下信息:
本文转自:深度开源(open-open.com)
原文地址:http://www.open-open.com/news/view/238534da