title: What is a good solution for cross browser javascript redirect with history?
body: <p>I am currently fighting Google Chrome on the following action:</p>
  
  <pre><code>location.href = url
  </code></pre>
  
  <hr>
  
  <pre><code>location.replace(url)
  </code></pre>
  
  <hr>
  
  <pre><code>document.location = url
  </code></pre>
  
  <hr>
  
  <pre><code>window.navigate(url) // doesn't work in Chrome/Firefox
  </code></pre>
  
  <hr>
  
  <pre><code>location.assign(url)
  </code></pre>
  
  <hr>
  
  <pre><code>window.open(url, '_self')
  </code></pre>
  
  <hr>
  
  <pre><code>window.location.href = url
  </code></pre>
  
  <hr>
  
  <p>I have tried all, and neither will add a history entry.  Is there a way in Google Chrome to do a javascript redirect WITH history?</p>
  
  <p>Thanks.</p>
  
  <hr>
  
  <p><strong>Explanation</strong>
  We have a table of items, when clicking on the row, I want the page to navigate to a specified URL, if anyone has a good solution to this other than using the onclick=send method we are using now, please let me know.</p>
  
  <hr>
  
  <p><strong>Update</strong>
  It appears that Stackoverflow its-self has this exact same issue. In the main view, click on one of the first 3 columns in the question list (# answers, etc..), then click the back button, it will take you back 2 pages.</p>