Is it possible check if there is a value for history.go(-1)? I know you can\'t access history.previous directly.
I am trying to stay away from document.referrer beca
if (history.length) { //There is history to go back to history.go(-1); }