In one file, I have
<a href="t2.html" target="_blank">go</a>
In t2.html
I have
<script>
document.write(window.opener);
</script>
On Safari on iOS, and on Chrome on the Mac and on pretty much every other browser, it prints out [object Window]
like you'd expect.
On Chrome on iOS, I get null
.
How do I get to the window that opened this window?
This seems to be a bigger story. See Bugtracker here:
But it seems, as if iframes could handle the parent-property, so maybe you could switch your app from using popups to using an overlay.