window.onmessage = (e) => { if (e.data.hasOwnProperty("frameHeight")) { document.getElementById("embeddedJobs").style.height = `${e.data.frameHeight + 30}px`; } };