Skip to content

Instantly share code, notes, and snippets.

@Ardillo
Created December 17, 2019 22:37
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ardillo/9eff43733c7ad90892171fbaf388c0c6 to your computer and use it in GitHub Desktop.
Save Ardillo/9eff43733c7ad90892171fbaf388c0c6 to your computer and use it in GitHub Desktop.
window.setInterval(thanosify, 2000);
function thanosify(){
[].forEach.call(document.querySelectorAll('.player'), function (el) {
if (el.className.includes("me")) {
console.log(el)
} else {
el.style.visibility = 'hidden'
}
});}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment