title: onchange event on window.location.href
body: <p>I would like to trigger some Javascript function when <code>window.location.href</code> link changes. Is it possible?</p>
  
  <p>Something like this:</p>
  
  <pre><code>$(window.location.href).on('change', function(){
     doSomething();
  });
  </code></pre>