The pushState() method of the History interface adds an entry to the browser's session history stack.
pushState()
MDN Reference