get URL from browsers history list
Posted on 1998-09-15
I tried several tricks to solve the following. I want to know what page the user was before he went to my page. This doesn't necessarily be because he clicked on a link, a self-types URL in the location bar, or a bookmark is possible to. If the latter two are the case, than "document.referrer" is empty. The only possible commands on the historylist are ".go()", ".back()", ".forward()"; the array is not accesible.
I tried to do "history.back()" from within a frame - fail.
I tried to open a new window and refer from there to the former window, but you can't use "self" or "parent"; you don't know that windowname.... Besides it's possible that a user uses more than 1 window at a time....
I think this problem can not be solved.