blob: c6152193aa81cf35a59805726e3a6c2114e5b62c (
plain)
1
2
3
4
5
6
7
8
9
|
<!DOCTYPE html>
<iframe></iframe>
<script>
var iframe = document.getElementsByTagName("iframe")[0];
var doc = iframe.contentDocument;
doc.open("TEXT/PLAIN");
doc.write("<i>foo</i>");
doc.close();
</script>
|