Süzme ve Spesiyal Yoğurtlar

Süzme ve Spesiyal Yoğurtlar

Sırala:
Miktar
Miktar
239,95
Miktar
<script> (function () { function disableRegionModal() { // Başlığı bul const headerEl = Array.from(document.querySelectorAll('h1,h2,h3,h4,h5,.modal-title,header,div')) .find(el => (el.textContent || '').trim().includes('Lütfen Bölgenizi Seçin')); if (!headerEl) return; // Modal container'ı daha güvenli yakala (div YOK!) const modal = headerEl.closest('.modal, [role="dialog"], .mfp-wrap, .pum, .tingle-modal') || // Eğer içeride .ng-custom-modal varsa onun en üst wrapper'ına çık headerEl.closest('.ng-custom-modal')?.closest('section, .modal, [role="dialog"], .mfp-wrap, .pum, .tingle-modal, body > div') || headerEl.closest('.ng-custom-modal'); if (!modal) return; // Modalı kapat modal.classList.remove('show', 'is-active', 'open'); modal.style.setProperty('display', 'none', 'important'); modal.style.setProperty('visibility', 'hidden', 'important'); modal.style.setProperty('opacity', '0', 'important'); modal.setAttribute('aria-hidden', 'true'); // Backdrop / overlay temizle document.querySelectorAll('.modal-backdrop,.mfp-bg,.pum-overlay,.tingle-modal--visible').forEach(b => b.remove()); // Body lock temizle document.body.classList.remove('modal-open'); document.body.style.removeProperty('padding-right'); document.body.style.overflow = ''; } document.addEventListener('DOMContentLoaded', disableRegionModal); // Sonradan açmaya çalışırsa const obs = new MutationObserver(disableRegionModal); obs.observe(document.documentElement, { childList: true, subtree: true }); })(); </script>