title: HTML5 website running while phone screen is off?
body: <p>Basically, my question is the same than <a href="https://stackoverflow.com/questions/15465242/html5-mobile-app-running-while-phone-screen-is-off">this topic</a> but it's now 2018. So, how can I still have ECMAScript executed on my phone (to send geolocation position) even if it is asleep? We now have Open Web Apps and Progressive Web Apps (PWA) with service workers, even Apple is jumping in, I'm sure there are ways to do that.</p>