(function () {
const directAddress = /\b(Deines|Deinem|Deinen|Deiner|Deine|Dein|Dich|Dir|Du)\b/g;
const skip = new Set(['SCRIPT','STYLE','TEXTAREA','INPUT','SELECT','OPTION','CODE','PRE']);
function lower(value) {
return value.replace(directAddress, function (word) { return word.toLocaleLowerCase('de-DE'); });
}
function update(root) {
if (!root) return;
const walker = document.createTreeWalker(root, NodeFilter.SHOW_TEXT);
const nodes = [];
while (walker.nextNode()) nodes.push(walker.currentNode);
nodes.forEach(function (node) {
const parent = node.parentElement;
if (!parent || skip.has(parent.tagName)) return;
const next = lower(node.nodeValue || '');
if (next !== node.nodeValue) {
node.nodeValue = next;
parent.style.setProperty('text-transform', 'none', 'important');
}
});
if (root.querySelectorAll) {
root.querySelectorAll('[placeholder],[title],[aria-label]').forEach(function (el) {
['placeholder','title','aria-label'].forEach(function (attr) {
if (el.hasAttribute(attr)) el.setAttribute(attr, lower(el.getAttribute(attr) || ''));
});
});
}
}
function start() {
update(document.body);
new MutationObserver(function (mutations) {
mutations.forEach(function (m) {
m.addedNodes.forEach(function (node) {
if (node.nodeType === 1 || node.nodeType === 3) update(node);
});
});
}).observe(document.body, { childList: true, subtree: true });
}
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', start);
else start();
})();
(function () {
const directAddress = /\b(Deines|Deinem|Deinen|Deiner|Deine|Dein|Dich|Dir|Du)\b/g;
const skip = new Set(['SCRIPT','STYLE','TEXTAREA','INPUT','SELECT','OPTION','CODE','PRE']);
function lower(value) {
return value.replace(directAddress, function (word) { return word.toLocaleLowerCase('de-DE'); });
}
function update(root) {
if (!root) return;
const walker = document.createTreeWalker(root, NodeFilter.SHOW_TEXT);
const nodes = [];
while (walker.nextNode()) nodes.push(walker.currentNode);
nodes.forEach(function (node) {
const parent = node.parentElement;
if (!parent || skip.has(parent.tagName)) return;
const next = lower(node.nodeValue || '');
if (next !== node.nodeValue) {
node.nodeValue = next;
parent.style.setProperty('text-transform', 'none', 'important');
}
});
if (root.querySelectorAll) {
root.querySelectorAll('[placeholder],[title],[aria-label]').forEach(function (el) {
['placeholder','title','aria-label'].forEach(function (attr) {
if (el.hasAttribute(attr)) el.setAttribute(attr, lower(el.getAttribute(attr) || ''));
});
});
}
}
function start() {
update(document.body);
new MutationObserver(function (mutations) {
mutations.forEach(function (m) {
m.addedNodes.forEach(function (node) {
if (node.nodeType === 1 || node.nodeType === 3) update(node);
});
});
}).observe(document.body, { childList: true, subtree: true });
}
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', start);
else start();
})();
extrAVagant - Johannes Dietz
Zieglerstraße 2
74076 Heilbronn
Deutschland
E-Mail: info@extravagant24.de
Tel.: 0049172 3108614 (bitte Vorwahl beachten)
USt.-ID.Nr.: DE366861221
LUCID-Registrierungsnummer: DE5789810809355
Plattform der EU-Kommission zur Online-Streitbeilegung: https://ec.europa.eu/odr
Wir sind zur Teilnahme an einem Streitbeilegungsverfahren vor einer Verbraucherschlichtungsstelle weder verpflichtet noch bereit.
})();