title: Javascript to check if PWA or Mobile Web
body: <p>I was curious if anyone knew a javascript based method for detecting whether the web experience was being run as a PWA (progressive web app) or it was simply being run as a standard mobile website (with full browser UI).</p>
  
  <p>Is there any difference between a PWA that is "installed" versus one that isn't but still has the service worker and/or app cache registered?</p>