Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts

31 Oct 2015

How to detect if user is away from web page using Page Visibility API JavaScript

In this simple tutorial we are going to learn how to detect if user is away from your website and if true then alert our user. Remember what i understand that here Away and idle are two different things,