1685009-1.html (406B)
1 <script> 2 if (location.search == "?x=") { 3 setTimeout(() => { window.close(); }, 1000); 4 } else { 5 window.requestIdleCallback(() => { 6 window.close(); 7 }) 8 window.onload = () => { 9 a.value = "J." 10 b.submit() 11 window.requestAnimationFrame(() => { a.setRangeText("foo") }) 12 } 13 } 14 </script> 15 <textarea id="a" style="max-width: 0"></textarea> 16 <form id="b" target="a"><input name="x" type="hidden">