<!DOCTYPE html>
<style>
.ref {
  height: 100px;
  width: 100px;
  background: green;
}
</style>
<div style="height: 800px"></div>
<div class="ref"></div>
<script>
onload = () => {
  window.scrollTo(0, 800);
};
</script>
