title: Access URLs in the Window's History Object
body: <p>Is there any way to randomly access the URLs in Javascript's <code>History</code> object in Safari? I'm writing an extension where I need to, on a specifically-formatted page request, capture the URL of the previous page. From what I've been able to find, the <code>History</code> object definition is non-standard across browsers. Safari only seems to expose its <code>length</code> property and the standard methods that actually <em>move</em> within the history. Where other implementations expose <code>current</code>, <code>previous</code> and <code>next</code> properties, I can't see anything that tells me Safari does the same.</p>
  
  <p>I've also tried <code>document.referrer</code>, but that doesn't appear to get populated in this case.</p>
  
  <p>I just need to display the previously accessed URL on a given page. Is there any other way to access that URL?</p>
  
  <p>Thanks.</p>