1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<html> <head> <script> function start() { sessionStorage.setItem("foo-https", "secure"); parent.postMessage(sessionStorage.getItem("foo-https"), "http://mochi.test:8888"); } </script> </head> <body onload="start();"> secure </body> </html>