Source code

Revision control

Copy as Markdown

Other Tools

<iframe src="about:blank"></iframe>
<script>
document.querySelector("iframe").contentDocument.write(
`<button onclick="window.open().document.write('Hi')">click me!</button>`
);
</script>