Navigating within the Browser's History
The browser history is represented by the history object (a property of the window object) and contains a list of web pages visited prior to (and, if available, after) the current page. And although it is technically possible to move a couple of elements within the history, security constraints leave only one viable way: going one page back and one page forward. The following two methods implement that:
|