I was trying to figure out how to know the if the user can basically go back a page.
I looked at history.length
but it's not consistant browser-wise (it's 1 on all on a new page except Firefox which returns 2) and it also counts the pages that are forward.
I basically have a form with a back button that should simply redirect to the home page in case the user can't navigate back.