<iframe src="URL" width="0" height="0" id="mypage"></iframe>
document.getElementById('mypage').contentWindow