LUXMILE - 프리미엄 라이프스타일과 함께하는 행복한 하루 | 럭스마일

📅

방문자 현황

📊 오늘 572
전체 361,986
레플리카사이트 상담연결

보유 쿠폰

로딩 중...

} // DOM이 로드되면 즉시 실행 if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', replaceHardcodedURLs); } else { replaceHardcodedURLs(); } // 동적 콘텐츠를 위한 추가 실행 (Swiper 슬라이드 등) setTimeout(replaceHardcodedURLs, 500); setTimeout(replaceHardcodedURLs, 1500); setTimeout(replaceHardcodedURLs, 3000); // MutationObserver로 DOM 변화 감지 const observer = new MutationObserver(function(mutations) { let shouldUpdate = false; mutations.forEach(function(mutation) { if (mutation.type === 'childList' && mutation.addedNodes.length > 0) { mutation.addedNodes.forEach(function(node) { if (node.nodeType === 1) { // Element node // 링크, 이미지, 또는 form input이 추가된 경우 if (node.tagName === 'A' || node.tagName === 'IMG' || (node.tagName === 'INPUT' && node.getAttribute('name') === 'url') || node.querySelectorAll('a, img, input[name="url"]').length > 0) { shouldUpdate = true; } } }); } }); if (shouldUpdate) { setTimeout(replaceHardcodedURLs, 100); } }); // body 요소의 변화를 관찰 if (document.body) { observer.observe(document.body, { childList: true, subtree: true }); } })(); -->