1 2 3 4
<script> var id = location.search.substring(1); parent.postMessage({ id: id, protocol: location.protocol }, "*"); </script>