Skip to content

Instantly share code, notes, and snippets.


videlais/visibility.js Secret

Created Dec 27, 2013
What would you like to do?
var Visibility = (function(self) {
self.supported = !!document.webkitHidden ||
!!document.mozHidden ||
!!document.msHidden ||
!!document.oHidden ||
})(Visibility || {});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.