title: Javascript- history.pushState() not working in IE
body: <p>I use the History.js to save the current (History can be found here: <a href="https://github.com/browserstate/History.js/blob/master/README.md" rel="nofollow noreferrer">https://github.com/browserstate/History.js/blob/master/README.md</a>)</p>
  
  <p>Now it works in all browsers except Internet Explorer. I use IE9, I don't know if it works on IE10.
  Anyway, my URL should look something like this: <a href="http://rlb.local/?bereich=3" rel="nofollow noreferrer">http://rlb.local/?bereich=3</a>
   but in IE it looks like this: <a href="http://rlb.local/#http%3A//rlb.local?bereich=3" rel="nofollow noreferrer">http://rlb.local/#http%3A//rlb.local?bereich=3</a>
  I have no idea what the reason is that Internet Explorer displays the URL so strangely.</p>
  
  <p>I pass the URL to the pushState-method like this:
  History.pushState(null, null, "?bereich=3");</p>
  
  <p>EDIT: Here is the function that uses this:</p>
  
  <pre><code>function scrollingFunction(page, speedVar){
      $.scrollTo( {top: 0 , left: getPosition(page)} , speedVar, { axis:'xy', easing: 'easeInOut'});
      $('.mainNav').removeClass("active");
      $('#navLink_'+page).addClass("active");
      History.pushState(null,null,"?bereich="+page);
  }
  </code></pre>
  
  <p>The function is used to scroll between different pages. The variable "page" is the current page number like "1", "2","3", etc. I tried it with the second parameter as a String but this doesn't work either.</p>