window.addEventListener("message", function (e) { if (e.origin !== "https://100forest.github.io") return; if (e.data && e.data.forestBtiHeight) { document.getElementById("forest-bti").style.height = e.data.forestBtiHeight + "px"; } });