Array.from(document.querySelectorAll("div h2")).filter(e=>e.innerHTML == "hello").forEach(e=>e.parentNode.style.display="none");
document.addEventListener('DOMContentLoaded', () => {
const walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT);
while (walker.nextNode()) {
const node = walker.currentNode;
if (/^hello$/i.test(node.textContent.trim())) {
node.parentNode.closest('div').hidden = true;
}
}
});