title: jQuery History.js:about statechange event trigger due to browser forward and backward button
body: <p>I just integrated <a href="https://github.com/browserstate/history.js" rel="nofollow noreferrer">History.js</a> in my jquery Ajax application but I could not find a way how to differentiate statechange event due to History.pushState in my own code and due to user clicking on Browser back and forward button (in both cases the event gets triggered).</p>
  
  <pre><code>History.Adapter.bind(window,'statechange',function(){ 
  
                  var State = History.getState(); // 
  
                  if (??????)  // should be true only when statechange was triggered due to user clickin on Back or Forward button
                      showHistoryContent(State.data.historyObj);
              });
  
  ...........
  st++
  History.pushState({historyObj:dto, state: st}, null, "?state="+st);
  </code></pre>
  
  <p>So how can I achieve this goal?</p>