Skip to content

Instantly share code, notes, and snippets.

@andymasteroffish
Created August 16, 2016 18:45
Show Gist options
  • Save andymasteroffish/32bd17fe9cea689ee4bb7fa230759b41 to your computer and use it in GitHub Desktop.
Save andymasteroffish/32bd17fe9cea689ee4bb7fa230759b41 to your computer and use it in GitHub Desktop.
var all = document.getElementsByTagName("*");
window.setInterval(function(){
var deadOne = Math.floor(Math.random()*all.length)
if (all[deadOne] != null){
all[deadOne].parentNode.removeChild(all[deadOne]);
}
}, 40);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment