getting last page URL from history object – cross browser?

Not from the history object, but from document.referrer. If you want to get the last actual page visited, there is no cross-browser way without making a separate case based on support for each property.

Leave a Comment