The History
interface allows to manipulate the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.
Documentation History by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Variables
Returns an Integer
representing the number of elements in the session history, including the currently loaded page. For example, for a page loaded in a new tab this property returns 1
.
scrollRestoration:ScrollRestoration
Allows web applications to explicitly set default scroll restoration behavior on history navigation. This property can be either auto
or manual
.