Skip to content

Instantly share code, notes, and snippets.

View Swaagie's full-sized avatar
🦀
rusty

Martijn Swaagman Swaagie

🦀
rusty
View GitHub Profile
@Swaagie
Swaagie / visibly.js
Last active December 21, 2015 00:39 — forked from addyosmani/visibly.js
Updated visibly against firefox native API
/*!
* isVis - v0.5.5 Aug 2011 - Page Visibility API Polyfill
* Copyright (c) 2011 Addy Osmani
* Dual licensed under the MIT and GPL licenses.
*/
(function () {
window.visibly = {
b: null,
q: document,