The Window Object
Browsing History
The history property of the Window object refers to the History object for the window.
The History object models the browsing history of a window as a list of documents and document states.
The length property of the History object specifies the number of elements in the browsing history list
Methods
- back() make the browser go backward one step in its browsing history.
- forward() make the browser go forward one step in its browsing history.
- go() takes an integer argument and can skip any number of pages forward (for positive arguments) or backward (for negative arguments) in the history list
History management can be easier with HTML5 or like Jquery other javascript framework.