document.write(''); function reinitIframe() { var iframe = document.getElementById("test"); try { var bHeight = iframe.contentWindow.document.body.scrollHeight; var dHeight = iframe.contentWindow.document.documentElement.scrollHeight; var height = Math.max(bHeight, dHeight); iframe.height = height; console.log(height); } catch (ex) { console.error("Error adjusting iframe height:", ex); } } window.setInterval(reinitIframe, 100); document.writeln(""); document.writeln("
"); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln("
"); document.writeln("
"); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln("
"); document.writeln("
"); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln("
"); document.writeln("
"); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln("
"); document.writeln("
"); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln("
");