log("external script before adding iframe"); var iframe = document.createElement("iframe"); iframe.srcdoc = "" document.body.appendChild(iframe);