title: Backbone route queryString proof
body: <p>I'm looking the proper and faster way to ignore queryString on all my routes.</p>
  <p>I found this <a href="https://github.com/jhudson8/backbone-query-parameters" rel="nofollow noreferrer">plugin</a> which is working fine; however, I just need to ignore the querystring and it'll be better to avoid include all that code.</p>
  <p>I was trying to do something like this:</p>
  <pre><code>var queryStrip = /(\?.*)$/,
  myRouter =  Backbone.Router.extend({
          initialize: function(){
             this.on('all', function(){
             Backbone.history.fragment = Backbone.history.fragment.replace(queryStrip, '');
             })
          }
  });
  </code></pre>
  <p>But, this approach is not working. Seems like history fragment is readonly.</p>
  <p>Any idea ?</p>