Onloadscroll na górę

window.onbeforeunload = function () {
  window.scrollTo(0, 0);
}
 Run code snippetHide results
Kind Kitten