RubyGems.org

Visibility.js allow you to determine whether your web page is visible to an user, is hidden in background tab or is prerendering. It allows you use the page visibility state in JavaScript logic and improve browser performance or improve user interface experience.

installgem install visibility
Authors

Andrey “A.I.” Sitnik

1,720 total downloads 900 for this version
Owners

Cd32d17c95d3bfb352504c36462b98bd

Gemfile
gem 'visibility', '~> 0.2'
Versions
  1. 0.2 June 25, 2011 (12 KB)
  2. 0.1 June 19, 2011 (11.5 KB)
Runtime Dependencies
  1. sprockets >= 2.0.0.beta.5