1396466.html (741B)
1 <script> 2 function addNew(i,t){ 3 let n=document.createElement(t); 4 n.setAttribute('id', i); 5 document.getElementById('a').appendChild(n); 6 } 7 document.addEventListener("DOMContentLoaded", function(){ 8 addNew('b','multicol'); 9 addNew('c','marquee'); 10 addNew('d','spacer'); 11 document.getElementById('a').appendChild(document.createElement('iframe')); 12 document.getElementById('b').focus(); 13 window.frames[0].document.body.appendChild(document.getElementById('c')); 14 let o=window.frames[0].document.body.childNodes[0]; 15 document.getElementById('d').appendChild(o.parentNode.removeChild(o)); 16 try{window.find('x')}catch(e){} 17 window.frames[0].document.body.appendChild(document.getElementById('c')); 18 }); 19 </script> 20 <body id='a'></body>