document.addEventListener("DOMContentLoaded", function () { if (!window.location.href.includes("c31820096")) return; const targetDiv = document.querySelector( '.mb-4.sm\\:mb-6.flex.justify-between.items-center' ); if (!targetDiv) return; const brandsHTML = `
`; targetDiv.insertAdjacentHTML("afterend", brandsHTML); }); document.addEventListener("DOMContentLoaded", function () { function hidePlaceholders() { const items = document.querySelectorAll(".s-products-list-placeholder"); if (items.length > 0) { items.forEach(el => el.style.display = "none"); } } // نخفيه فورًا لو موجود hidePlaceholders(); // ونراقب أي عناصر تتضاف بعدين const observer = new MutationObserver(() => hidePlaceholders()); observer.observe(document.body, { childList: true, subtree: true }); });