diff --git a/countdown/index.html b/countdown/index.html index aefc365..6ebf2c8 100644 --- a/countdown/index.html +++ b/countdown/index.html @@ -87,6 +87,12 @@ document.body.className = display.body; title.innerHTML = display.message; updateCountDown(); + window.waitUntil = display.time.getTime(); + if (window.parent) { + window.parent.postMessage({ + waitUntil: window.waitUntil, + }, '*'); + } });