Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<html>
<head>
<script>
function init() {
window.removeEventListener("load", init);
var fr = document.getElementsByTagName("iframe")[0];
var b = fr.contentDocument.body;
fr.remove();
b.parentNode;
}
window.addEventListener("load", init);
</script>
</head><body><iframe></iframe></body></html>