title: JavaScript - Vue - POST request before browser exits
body: <p>In 2017, for browsers updated to this point as of October 2017, is there a way to send a POST request before the browser exits? I'd like to send a POST request so that the application knows when (or if) it was abandoned midway.</p>
  
  <p>If not, is there a better way to check when a user is connected and then send a POST request?</p>
  
  <p>I am using Vue 2.4, if that helps.</p>
  
  <p>I know there have been <a href="https://stackoverflow.com/questions/37824125/alert-before-page-close-how-to-change-the-chromes-default-message#comment66800425_37874651">many answers</a> to this but the old ones do not work as Chrome have updated their engine.</p>