Table of contents Home page
Execute this code
if (confirm("Do you want to go back to the previous page?")) { history.back() }