title: Javascript pathname referrer
body: <p>How can do the same function in javascript that is document.location.pathname - except with the referrer? so something like document.referrer.pathname?</p>
  
  <p>Thanks.</p>