file_timer_flood.html (342B)
1 <!DOCTYPE HTML> 2 <html> 3 <body> 4 <script> 5 let count = 0; 6 function cb() { 7 count += 1; 8 // Notify our parent that we are ready once the timer flood has 9 // warmed up. 10 if (count === 10000) { 11 window.parent.postMessage('STARTED', '*'); 12 } 13 setTimeout(cb, 0); 14 setTimeout(cb, 0); 15 } 16 addEventListener('load', cb); 17 </script> 18 </body> 19 </html>