d=>z=>document[l='querySelectorAll'](`#${d} tr`).forEach(x=>x[l]('td').forEach(y=>y.innerText!=z&&(x.style.display='none')))
should work if you don't mind it not short-circuiting once a match is found
Anonymous
Anonymous
Anonymous