title: history.back only if referrer same website
body: <p>I'd like to display a back button with the help of history.back, but it should only be displayed if the history page is within the same website / domain. So it should not be displayed if referrer is e.g. google.com. Couldn't find a working solution yet.</p>
  
  <p>Is this possible?</p>
  
  <p>Thx</p>