|
|
|
@ -5,17 +5,6 @@ sidebar:
|
|
|
|
|
order: 6
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
<iframe src="https://pistar.nq4t.com" id="child-iframe"></iframe>
|
|
|
|
|
<iframe frameborder="0" src="https://pistar.nq4t.com" width="830" height="800"></iframe>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
let iframe = document.querySelector("#child-iframe");
|
|
|
|
|
|
|
|
|
|
iframe.addEventListener('load', function() {
|
|
|
|
|
setInterval(function() {
|
|
|
|
|
iframe.style.height = iframe.contentDocument.body.scrollHeight + 'px';
|
|
|
|
|
iframe.style.width = iframe.contentDocument.body.scrollWidth + 'px';
|
|
|
|
|
}, 500);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|