This demo shows how to control the clients of a service worker when the user clicks on a push notification.

Press on 'Send notification' and try one of: