title: JavaScript redirection issue on Google Chrome
body: <p>I have the following code on an html page:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  &lt;!--
      window.location.replace("http://www.example.com/");
  --&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;meta http-equiv="refresh" content="0;url=http://www.example.com/" &gt;
  </code></pre>
  
  <p>On Google Chrome, it loads this page and then redirects to example.com, while, on other browsers that I have tested (IE and Firefox), it does not load this HTML page (on which this particular code is) but directly shows up example.com</p>
  
  <p>Can any one tell me what's wrong with my code and <strong>any suggestions</strong> to improve it, so that it will also work on Google Chrome too.</p>
  
  <p>Thanks</p>