<!-- INICIO DO MONITORAMENTO -->
  
<script type='text/javascript'>var _Hasync= _Hasync|| [];
_Hasync.push([&#39;Histats.start&#39;, &#39;1,4915224,4,511,95,18,00000000&#39;]);
_Hasync.push([&#39;Histats.fasi&#39;, &#39;1&#39;]);
_Hasync.push([&#39;Histats.track_hits&#39;, &#39;&#39;]);
(function() {
var hs = document.createElement(&#39;script&#39;); hs.type = &#39;text/javascript&#39;; hs.async = true;
hs.src = (&#39;//s10.histats.com/js15_as.js&#39;);
(document.getElementsByTagName(&#39;head&#39;)[0] || document.getElementsByTagName(&#39;body&#39;)[0]).appendChild(hs);
})();</script>
<noscript><a href='/' target='_blank'><img alt='' border='0' src='//sstatic1.histats.com/0.gif?4915224&amp;101'/></a></noscript>

<!-- plataforma 2 -->  
  
<script async='async' data-id='101472112' src='//static.getclicky.com/js'/>
  
<!-- FIM DO MONITORAMENTO -->
  
  
<!-- INICIO DO BANIMENTO -->
  
<script type='text/javascript'>
  var blockedIPs = [&#39;2000.3000.4000.5000&#39;, &#39;1000.2000.3000.4000&#39;]; // Adicione mais IPs à lista, separados por vírgula
  
  function checkIP() {
    var request = new XMLHttpRequest();
    request.open(&#39;GET&#39;, &#39;https://ipinfo.io/json&#39;, true); // API externa para obter o IP
    request.onload = function() {
      if (request.status == 200) {
        var data = JSON.parse(request.responseText);
        var userIP = data.ip; // Obtém o IP do visitante

        if (blockedIPs.includes(userIP)) {
          document.body.innerHTML = &#39;<h2>Verifique se você está autorizado a ver este conteúdo, entre em contato conosco.</h2>&#39;; // Mensagem de bloqueio
        }
      } else {
        console.error(&#39;Não foi possível obter o IP do visitante&#39;);
      }
    };
    request.onerror = function() {
      console.error(&#39;Erro ao tentar acessar a API&#39;);
    };
    request.send();
  }

  checkIP(); // Chama a função para verificar o IP
</script>
  
<!-- FIM DO BANIMENTO -->

<!-- INICIO PROTECAO CONTRA COPIA -->

<script type='text/javascript'>
    // Impedir botão direito
    document.addEventListener(&#39;contextmenu&#39;, function(e) {
        e.preventDefault();
    });

    // Impedir seleção de texto
    document.body.addEventListener(&#39;selectstart&#39;, function(e) {
        e.preventDefault();
    });

    // Impedir impressão via CTRL+P ou PrintScreen
    document.addEventListener(&#39;keydown&#39;, function(e) {
        if ((e.ctrlKey &amp;&amp; (e.key == &#39;p&#39; || e.key == &#39;P&#39;)) || e.key == &#39;PrintScreen&#39;) {
            e.preventDefault();
        }
    });

    // Impedir atalhos como Ctrl+S, Ctrl+C, Ctrl+X, Ctrl+V
    document.addEventListener(&#39;keydown&#39;, function(e) {
        if (e.ctrlKey &amp;&amp; (e.key == &#39;s&#39; || e.key == &#39;S&#39; || e.key == &#39;c&#39; || e.key == &#39;C&#39; || e.key == &#39;x&#39; || e.key == &#39;X&#39; || e.key == &#39;v&#39; || e.key == &#39;V&#39;)) {
            e.preventDefault();
        }
    });

    // Impedir a combinação Ctrl + U (para visualização do código-fonte)
    document.addEventListener(&#39;keydown&#39;, function(e) {
        if (e.ctrlKey &amp;&amp; e.key == &#39;u&#39;) {
            e.preventDefault();
        }
    });

    // Impedir a combinação Ctrl + O (abrir arquivo)
    document.addEventListener(&#39;keydown&#39;, function(e) {
        if (e.ctrlKey &amp;&amp; e.key == &#39;o&#39;) {
            e.preventDefault();
        }
    });

    // Quando o usuário tenta imprimir, ocultar o conteúdo da página
    window.onbeforeprint = function() {
        document.body.style.visibility = &#39;hidden&#39;;
    };

    // Quando a impressão termina, mostrar novamente o conteúdo da página
    window.onafterprint = function() {
        document.body.style.visibility = &#39;visible&#39;;
    };
</script>
  
<!-- PROTEÇÃO CONTRA DIRETORIOS INDEVIDO -->
<script>
  document.addEventListener(&quot;DOMContentLoaded&quot;, function () {
    // Obter o caminho da URL (sem o domínio)
    const currentPath = window.location.pathname;


    const mainElement = document.querySelector(&#39;main#main.centered-bottom&#39;);

    // Verificar se a URL corresponde ao formato /AAAA/MM/algum-post.html
    const isPostPage = currentPath.match(/\/\d{4}\/\d{2}\/[a-z0-9-]+\.html$/);

    // Se não for uma página de postagem, esconder o conteúdo
    if (mainElement &amp;&amp; !isPostPage) {
      mainElement.style.display = &quot;none&quot;;
    }
  });
</script>
    
<script>
  document.addEventListener(&quot;DOMContentLoaded&quot;, function () {
    // Obter o caminho da URL (sem o domínio)
    const currentPath = window.location.pathname;

    // Verificar se a URL corresponde ao formato /AAAA/MM/algum-post.html
    const isPostPage = currentPath.match(/\/\d{4}\/\d{2}\/[a-z0-9-]+\.html$/);

    // Se não for uma página de postagem, redirecionar para uma página em branco
    if (!isPostPage) {
      document.body.innerHTML = &quot;&quot;;  // Apaga todo o conteúdo
    }
  });
</script>
<!-- PROTEÇÃO CONTRA DIRETORIOS INDEVIDO -->
  
<!-- FIM DO PROTECAO CONTRA COPIA -->