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 the history has a length greater than 0, then it contains at least one history point.
if (history.length)