The history object is a property of the document object. It contains the history of the browser, that is to say all the URLs visited by the user. These addresses can be accessed via the browser by clicking on the Next and Back buttons.
The history object has objects and methods to navigate through this address list directly from the current page.
The properties and methods of the object history are few in numbers, but still can be very useful for navigating through webpage*.
- The length property allows you determine the number of objects in history
- The back method allows you to go back to the previous URL in the history
- The forward method allows you to go back to the next URL in the history
- The go method(variable) allows you to access a particular URL in the history.
- The variable parameter is an integer (positive or negative) which determines the number of pages on which the desired URL is found.
- Note that: On some browsers, when security level is enabled, this method won't give any results.
Original document publishe on CommentcaMarche.net
- Why can't i delete my browser history - How-To - Web
- Browser history ie - How-To - Web
- Windows cannot load the device driver for this hardware. the driver may be corrupted or missing. (code 39) object name not found - How-To - Windows