Skip to content

Instantly share code, notes, and snippets.



Created Oct 21, 2013
What would you like to do?
Slowly removes the page
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