JavaScript - History

javascript-dom

current    // The URL of the current document
length    // The length of the history list
next        // The next URL
previous    // The previous URL
back()
forward()
go()
go(n)
go(string)    // loads the closest document in the history list who URL match or contains this string

history.back()
history.forward()
history.go(number) // positive to go forward, negative to go backward
history.go(-1); // go back
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License