Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

150
Visualizações
Devtools detector, antibugging

I'm not going to ask how we can block debugging tools or block the inspect element. I want to implement some javascript function as soon as user tries to open devtools as SoundCloud website did.

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

After some researching SoundCloud site I found this line of code, may be it will help you. They just use console.info at the start:

 null != (d = window.console) && d.info && window.console.info('You like to look under the hood? Why not help us build the engine? https://soundcloud.com/jobs');

P.S. At the moment this line of code you can find in this file

about 4 years ago · Juan Pablo Isaza Relatório

0

Don't know if this will help but this is for the Windows Shortcut.

window.oncontextmenu = function () {
return false;
};

document.addEventListener("keydown", function(event){
var key = event.key || event.keyCode;

if (key == 123) {
    return false;
} else if ((event.ctrlKey && event.shiftKey && key == 73) || (event.ctrlKey 
&& event.shiftKey && key == 74)) {
    return false;
 }
}, false);
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda