Skip to content

Instantly share code, notes, and snippets.

@Ardillo
Ardillo / js
Created December 17, 2019 22:37
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'
}
});}