Is there any function or variable where I can get wheter the document is focused at the moment?
Asked
Active
Viewed 90 times
0
-
For a filed or for document – PSR May 09 '13 at 10:59
-
1Hint: [PageVisibility API](http://www.html5rocks.com/en/tutorials/pagevisibility/intro/). There's a good article on html5rocks. – MaxArt May 09 '13 at 11:13