Created
October 21, 2013 22:12
-
-
Save SomeKittens/7091851 to your computer and use it in GitHub Desktop.
Slowly removes the page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener('click', function() { | |
window.setTimeout(function() { | |
var all = document.querySelectorAll('*'); | |
all[Math.floor(Math.random() * all.length)].style.display = 'none'; | |
}, Math.floor(Math.random() * 5000)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment