cornishholidayhome

undefined Results

(function() { function rep(el) { if (!el) return; if (el.nodeType === 3) { if (el.textContent === '25%') el.textContent = '20%'; else if (el.textContent.includes('Save up to 25%')) el.textContent = el.textContent.split('Save up to 25%').join('Save up to 20%'); } else if (el.nodeType === 1 && el.tagName !== 'SCRIPT' && el.tagName !== 'STYLE') { for (var i = 0; i < el.childNodes.length; i++) rep(el.childNodes[i]); } } function findPromoSection() { var sections = document.querySelectorAll('[class*="promo"],[class*="Promo"],[class*="coupon"],[class*="discount"],[data-type="Promotion"]'); if (sections.length > 0) { sections.forEach(function(s) { rep(s); }); } else { rep(document.body); } } function run() { findPromoSection(); } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', run); } else { run(); } var obs = new MutationObserver(run); obs.observe(document.documentElement, { childList: true, subtree: true }); setTimeout(function() { obs.disconnect(); }, 20000); })();