Skip to content

Instantly share code, notes, and snippets.

@Ardillo
Created December 17, 2019 22:37
Embed
What would you like to do?
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