Then isn't online/offline it verify whether user get out focus on current 
page..

Em sábado, 3 de dezembro de 2016 17:36:10 UTC-3, Anthony escreveu:
>
> On Saturday, December 3, 2016 at 2:25:50 PM UTC-5, Marlysson Silva wrote:
>>
>> You can do it with javascript, using:
>>
>> Api navigador:
>>
>> https://developer.mozilla.org/en-US/docs/Online_and_offline_events#Overview
>>
>>
>> https://developer.mozilla.org/en-US/docs/Online_and_offline_events#Overview
>>
>
> Looks like that is for tracking whether the browser itself is online vs. 
> offline, not whether the user has simply navigated away from your app or 
> closed the tab.
>
> Anthony
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to