<!DOCTYPE html> <script> navigator.serviceWorker.onmessage = function(e) { window.parent.postMessage(e.data, "*"); }; </script>