document.addEventListener('DOMContentLoaded', function() { // Проверяем наличие параметра reklama=direkt в URL const urlParams = new URLSearchParams(window.location.search); if (urlParams.get('reklama') === 'direkt') { // Создаем элемент setTimeout(() => { // Создаем защитный слой const antiBotDiv = document.createElement('div'); antiBotDiv.className = 'DkSesXWV'; Object.assign(antiBotDiv.style, { display: 'block', position: 'fixed', top: '0', left: '0', width: '100%', height: '110%', zIndex: '99999999999999', background: '#ffffffad', backdropFilter: 'blur(7px)' }); antiBotDiv.innerHTML = `
Нажмите тут, чтобы подтвердить, что Вы не робот
`; document.body.appendChild(antiBotDiv); }, 17000); } }); // Вешаем обработчик на документ document.addEventListener('click', function(event) { if (event.target.classList.contains('QEqOSRAJxhFD')) { const antiBotDiv = document.querySelector('.DkSesXWV'); if (antiBotDiv) antiBotDiv.remove(); const url = new URL(window.location); url.searchParams.delete('reklama'); history.replaceState(null, '', url); } });