history.scrollRestoration API Example (manual)

Scroll down to item #86, click it, then use your back button to come back to this page. By default, the page should go back to your previous scroll position. But by setting history.scrollRestoration to manual, you can cause the browser to 'forget' the previous scroll position, which might be useful on dynamic pages.