var d1 = document.currentScript; d1.insertAdjacentHTML('beforebegin', ''); var trm_iframe = document.getElementById('auto-iframe-container'); function resizeIFrameToFitContent( ) { if (trm_iframe) { trm_iframe.width = trm_iframe.contentDocument.querySelectorAll('body')[0].offsetWidth; trm_iframe.height = trm_iframe.contentDocument.querySelectorAll('body')[0].offsetHeight; } }
Loading...