Sample of Web Notification from a Service Worker.
Currently, this app does NOT use Service Worker properly.
The spawned service worker gets eventually killed by the browser
because the worker runs in an infinite loop.
$ git clone https://github.com/igrep/sample-notification-service-worker.git
$ cd sample-notification-service-worker
$ python3 -m http.server
# or if you are a Python 2 user
$ python -m SimpleHTTPServer
Then open http://localhost:8000/ with a browser able to run Web Notification on a Service Worker.