esetleg: $x('//a').forEach(item => { item.style.display = (item.innerText.match(/bOot|hUp|faq|blog|szavaz/i) ? 'none' : 'inherit')});