(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();
})();
Mein Showroom wird abgebaut. Deine Chance auf günstige High-End Schnäppchen!
In den letzten Jahren habe ich mein Heimkino mit viel Leidenschaft aufgebaut – mit Geräten, die ich persönlich ausgewählt, genutzt und oft auch selbst kalibriert habe. Da ich bald in die Schweiz gehe und sich mein berufliches Leben verändert, gebe ich nun einige dieser hochwertigen Komponenten aus meinem privaten Showroom frei.
})();