I am currently using a script containing window.history.back() on my site. While it generally works, it occasionally jumps at times, and sometimes navigates back 2
window.history.back()