September 2024
Beginner to intermediate
985 pages
35h 37m
English
The history property of the window object takes you to an object that represents the browsing history. This object (of the History type) can be used to take a look at the history, but it can also enable you to change the history.
Each time the browser loads a new web page, or even jumps to a jump label (an anchor) within a web page, the browser creates a new entry in the browsing history by default (the exception here is the replace() method, as shown in Section 8.3.3).
A few years ago, it wasn’t so easy to influence the browsing history. The only things you could do (and still can do) were use the length property to see the number of entries in the ...
Read now
Unlock full access