<!DOCTYPE html>
<body onload="document.querySelector('form').submit();">
<form action="javascript:opener.document.getElementById('result').textContent = document.cookie;" target="_blank">
</form>
<div id="result">not tested yet</div>
</body>