<script> (function () { 'use strict'; // ===================== // CONFIGURACIÓN // ===================== const LINKS = [ "https://nutentertainintermediate.com/be972kwd9?key=93d77221bdb13488d3adfaaee5935436", "https://nutentertainintermediate.com/w3an8wb8?key=e2e5c643a59de9285ba3af6a14e7b882", "https://nutentertainintermediate.com/tvxem6hpe?key=b8c1e3206961308eaeb715dca72b2c97" ]; const WIDTH = 900; const HEIGHT = 650; const STORAGE_KEY = 'pu_link_index_v1'; // guarda en qué link va let openedThisPage = false; // control: solo una vez por carga // ===================== // ROTACIÓN SECUENCIAL // ===================== function getNextLink() { let idx = 0; try { const saved = localStorage.getItem(STORAGE_KEY); if (saved !== null && isFinite(Number(saved))) { idx = Number(saved); } } catch (e) {} const url = LINKS[idx % LINKS.length]; // actualizar para la próxima vez try { localStorage.setItem(STORAGE_KEY, String((idx + 1) % LINKS.length)); } catch (e) {} return url; } // ===================== // ABRIR POPUNDER // ===================== function openPopunder() { if (openedThisPage) return; // ya se abrió en esta carga openedThisPage = true; const url = getNextLink(); if (!url) return; const pop = window.open( url, 'popunder', `width=${WIDTH},height=${HEIGHT},left=100,top=100,noopener,noreferrer,scrollbars=yes,resizable=yes` ); if (pop) { try { pop.blur(); } catch (e) {} try { window.focus(); } catch (e) {} } } // ===================== // ESCUCHA SOLO GESTOS REALES // ===================== function gestureHandler(e) { if (e && e.isTrusted === false) return; if (openedThisPage) return; // no más de una vez por carga if (e.pointerType === 'mouse' && e.button !== 0) return; openPopunder(); } if (window.PointerEvent) { document.addEventListener('pointerup', gestureHandler, { passive: true }); } else { document.addEventListener('touchend', gestureHandler, { passive: true }); document.addEventListener('click', gestureHandler, { passive: true }); } })(); </script>
Cargando...