<!DOCTYPE html> <html style="margin: 0" class="reftest-wait"> <body style="margin: 0"> <div style="height: 70px; background-color: blue"></div> <div style="height: 1950px;"> <div style="margin-top: 100px; width: 100px; height: 100px; background-color: green"></div> </div> <script> addEventListener('load', function() { document.scrollingElement.scrollTop = 50; document.documentElement.classList.remove('reftest-wait'); }, false); </script> </html>