title: How to distinguish between the first page load and the consecutive page refresh events in Javascript?
body: <p>Hi I need to distinguish between 2 events,</p>
  
  <ol>
  <li><p>When the page loads for the first time, I want to set some value in the header say "Welcome"</p></li>
  <li><p>Later if after loading if the user refreshes the window, I would like my Javascript to detect this as page refresh event and not mistaken as page load and set some other value in the header say "You have just refreshed the page"</p></li>
  </ol>
  
  <p>Can you help in implementing this?</p>