title: Window.location.href infinite loop
body: <p>When using <code>window.location.href</code> I'm running into an infinite loop (even though it is placed inside a function that is only called once during startup).</p>
  
  <pre><code>function onYouTubeIframeAPIReady() { // only called one time once API's are ready
          window.location.href = ("?name=" + new Date().getTime()); //is EPOCH time
  </code></pre>
  
  <p><code>window.location.hash</code> works just fine (but I can't use that) ...</p>