/* Add custom Js styles below */ document.addEventListener('DOMContentLoaded', () => { const option = document.querySelector('#product-filter option[value="bestSell"]'); if (option) option.remove(); // أو option.hidden = true; }); document.addEventListener("DOMContentLoaded", function(){ let s=document.createElement("script"); s.src="https://ryefal.com/cloudflare-static/email-decode.min.js"; s.defer = true; document.body.appendChild(s); }); document.addEventListener("DOMContentLoaded", function() { const scriptsToDefer = [ "cloudflare-static/email-decode.min.js", "cloudflare-static/rocket-loader.min.js", "dashboard.toolvers.com", "www.clarity.ms", "googletagmanager.com/gtm.js", "googleads.g.doubleclick.net", "tr.snapchat.com", "analytics.tiktok.com", "sc-static.net/scevent.min.js", ]; scriptsToDefer.forEach(function(partialSrc) { document.querySelectorAll(`script[src*="${partialSrc}"]`).forEach(function(script) { if (!script.hasAttribute("defer")) { script.setAttribute("defer", "defer"); console.log(`Deferred script: ${script.src}`); } }); }); });