title: Browser back-button in AJAX problem
body: <p>I try to enable a brwoserback button for my tabs. But the problem is that in some cases the the hash dissapears.</p>
  
  <pre><code>function showTab1(){
      window.location.hash = 'tab1';
      oldHash = window.location.hash;
      //showTab1
  }
  function showTab2(){
      window.location.hash = 'tab2';
      oldHash = window.location.hash;
      //showTab2
  }
  function checkBrowserBackButtonInHome(){
  
      setInterval(function(){
          if(window.location.hash != oldHash) {
              //Do something
          }
      }, 50);
  } 
  showTab1();
  </code></pre>
  
  <p>and than I click on showTab2. And when I click on the browser back button the hash dissapears. <code>index.php</code> instead of <code>index.php#tab1</code></p>
  
  <p>EDIT:</p>
  
  <p>It seems like this only happens in chrome web browser</p>