title: Is there a method for getting the state object data of history.pushState()?
body: <p>I change the browser's history in this way:</p>
  
  <pre><code>var state = { itemId: id };
  history.pushState(state, null, someURL);
  </code></pre>
  
  <p>I can have lots of states(I think the maximum in Chrome is 50). Now, I want to get all my states, is there a method for that? </p>
  
  <p>Something like: <code>history.getState()</code> ?</p>