1 2 3 4 5 6 7
<template id="t"> </template> <iframe id="i"></iframe> <script> var doc = i.contentDocument; i.remove(); doc.importNode(t, true); </script>