Ever wanted to track whether or not a user is still looking at your web page and not another tab in their browse?
The HTML5 Page Visibility API is how we can do this.
Code GIST: https://gist.github.com/prof3ssorSt3v3/ac34769b1cce2833cd1d115b86c1daa9
typeof video: https://www.youtube.com/watch?v=JXdvbHuKfdI
Download
0 formats
No download links available.
Page Visibility API (Active Tab Tracking) | NatokHD