https://www.webcodegeeks.com/javascript/javascript-history-back-example/
Javascript History Back Example