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
function test() { document.URL = document.referrer; }