Gebrauchte Immobilien zum Kauf
in Brackenheim und Umgebung
Entdecken Sie Ihr Traumhaus
powered by immowelt
const observer = new MutationObserver(mutations => {
mutations.forEach(mutation => {
mutation.addedNodes.forEach(node => {
if (node.nodeType === 1) { // Prüft, ob es sich um ein Element handelt
const spans = node.querySelectorAll('#iwModule #iwWidget .hm_listextrafield ul li span');
spans.forEach(span => {
if (span.textContent.includes('Neubau')) {
let parentBox = span.closest('.hm_listbox');
if (parentBox) {
parentBox.style.display = 'none';
}
}
});
}
});
});
});
observer.observe(document.body, {
childList: true,
subtree: true
});