function prowoCation(){ nonpc = document.querySelectorAll("img.playerlogo"); for (var inonpc = 0; inonpc < nonpc.length; inonpc++){ if (nonpc[inonpc].src != "https://clickfight.net/assets/arena/playericon.png"){ $('.playername')[inonpc].children[0].children[0].textContent = 'Prowo The Cock Sucker'; } } setTimeout(prowoCation, 2000); } prowoCation();