title: Website with hashchange - querying if popstate event is available?
body: <p>I've never worked with the HTML5 onpopstate/pushState Method. However I'm building (or have already built) a website where scrolling through the page changes the hash in the addressbar to the ID of the currently shown element in the viewport. So I have a kind of browserhistory and Deep Linking on my single-page-layout. </p>
  
  <p>I'm still doing this with setting the <code>top.location.hash</code> and using the <code>hashchange()</code> function. Now I've come across this new HTML5 popstate/onPushstate Method and thought this would be intersting …</p>
  
  <p>First of: What are the benefits of using this <code>popstate/onPushState</code> Methods? Is it better using this than the classical way of using <code>top.location.hash</code>? Is the performance better?</p>
  
  <p>If so, is there a way to query or find out if the current browser is supporting this Methods? So I can use those methods for modern browsers and fallback on the old way in older browsers.</p>
  
  <p>Is that possible? If yes, than how?</p>