Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<body>
<script>document.write(`<p>protocol? ${location.protocol}</p>`);</script>
<script>
window.addEventListener('load', () => {
window.parent.postMessage(
{
name: 'iframe-protocol-check',
protocol: location.protocol
}, '*');
});
</script>
</body>