history
history copied to clipboard
check if the history.forward() is available
I want to disable the button which triggers history.forward() (or history.go(1)) if the current location is the last in the history stack. How should I check this condition?