To solve that problem we have the Visibility API, which allows us to test whether the browser content can be seen, and respond accordingly.
view source
Curated, Short, Web UI Dev we Love.
Aug 8, 2014
ui deploy.built by @mdo