/* Studio as text */ function processStudioLogos() { document.querySelectorAll('.studio-logo').forEach(img => { const link = img.closest('a'); if (link && img.alt && !link.hasAttribute('data-processed') && img.src.includes('default=true')) { const cleanName = img.alt.replace(/\s+logo$/i, ''); link.textContent = cleanName; link.setAttribute('data-processed', 'true'); } }); } const observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if (mutation.addedNodes.length) { processStudioLogos(); } }); }); observer.observe(document.body, { childList: true, subtree: true });