New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
track browser focus #6
base: master
Are you sure you want to change the base?
Conversation
Cool. Thanks! Have you tested this cross-browser at all? Is |
From what I've read yes. I'm just not sure about mobile devices, so I'll test that a bit and let you know |
Cool. Want to add to the README and I'll merge and release? |
I've read way too many stackoverflow posts regarding browser focus and it seems to be one of those things that's just difficult to do properly cross-platform. This is the best one I found: Also there is a new API http://www.w3.org/TR/page-visibility/ It seems a bit too loose to merge into the master version. |
Hmm, yeah support is a bit patchy: http://caniuse.com/#feat=pagevisibility Kind of a cool feature though. Is it better to have it where possible or not at all? On Tuesday, 23 July 2013 at 6:56 PM, David Burles wrote:
|
I'm not sure to be honest! |
Hm…….. will ruminate On Tuesday, 23 July 2013 at 7:13 PM, David Burles wrote:
|
here 'tis