To register a service worker that runs in background: First we add a new js file service. Ideally, there will be a button on the website that would normally say "Enable notifications".The notification is showing fine, but when I click on it, or any of the actions, nothing happens. And that's it, you have an active service worker that will push notifications to the user every time GCM server will call it. Open Devtools -> Application -> Service Workers and use the Push input to send a JSON notification payload. The Notification API triggers the display of the notification in the browser. These two API's must therefore be used inside the service worker. And we can use web-push libraries to push notification to these service workers. Find layoff and closure information on Washington State employers. For questions or help with the online application contact Government Jobs customer service at .