阅读背景:

如何在最小化或睡眠时在移动设备上运行JS代码

来源:互联网 

I'm getting a trouble while running JS code in a browser. I've got a small web page which uses HTML5 location API for tracking a user. User opens my website, logs in, and goes to a certain page on which I'm using location API to track user's location. Everything works fine until user's phone goes to sleep or user presses "home" button to minimize browser. The same thing happens on both Android and iPhone. I'm getting a trouble while running JS code in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: