title: How to detect if web app running standalone on Chrome mobile
body: <p>Chrome mobile has recently added the ability to add to home screen, similar to iOS. This is cool but it doesn't support it as well as iOS - it doesn't support <code>window.navigator.standalone</code> so you can't detect whether you are running as a standalone app.</p>
  <p><a href="https://developers.google.com/chrome/mobile/docs/installtohomescreen" rel="noreferrer">The reference</a> says:</p>
  <blockquote>
  <p>How can I detect if the app is running as an installed app?</p>
  <p>You can’t, directly.</p>
  </blockquote>
  <p>Notice it says &quot;directly&quot;. My question is can we do it <em>indirectly</em>? Is there some tricky way to make an educated guess?</p>