title: want to redirect to my home page when user reload the page
body: <p>I want to redirect to my home page when user press the refresh button of the browser.</p>
  
  <p>Example. 
  when some user is on 2nd page of my application ( like www.mydomain.com/second.php ) and hit the browser refrsh button the i want a javascript pop for confirmation and redirect the user to my application home page ( like www.mydomain.com ) and i want to do it with javascript.</p>