gecko-dev/dom/html/test/file_bug1108547-2.html

7 строки
242 B
HTML

<!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>