echo-cookies.html (291B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <script> 4 if (window.opener) 5 window.opener.postMessage({ type: 'COOKIES_SET', cookies: document.cookie }, '*'); 6 if (window.parent !== window) 7 window.parent.postMessage({ type: 'FRAME_COOKIES_SET', cookies: document.cookie }, '*'); 8 </script>