JavaScript Window History
The window.history object contains the browsers history. The history.back()/history.forward() method loads the previous/Next URL in the history list.
The window.history object contains the browsers history. The history.back()/history.forward() method loads the previous/Next URL in the history list.