Skip to content

Instantly share code, notes, and snippets.

@SomeKittens

SomeKittens/troll.js

Created Oct 21, 2013
Embed
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