title: Javascript not reloading page when using location.replace a second time with the same URL
body: <p>I am using <code>location.replace</code> to reload a page that uses GET variables for a success message.</p>
  
  <p>My problem is, if the URL in the <code>location.replace</code> is exactly the same the page does not reload. I know that if I can use a condition and use <code>location.reload()</code> this will answer my question by I do not know how to use an IF statement on a <code>location.replace</code>, or any other way this could be done.</p>
  
  <p>So when calling the <code>location.replace('?success=1');</code> whilst <code>?success=1</code> is already in the URL the page does not reload.</p>
  
  <p>Could anyone shed some light on this?</p>
  
  <p>Thanks</p>