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

130
Visualizações
preventing an inline script from running

The login for a public web site contains the following (in the main page):

<script type="text/javascript">
$(document).ready(function () {
  $('input[type=text]').bind('cut copy paste', function (e) {
     e.preventDefault();
  });
  $('input[type=password]').bind('cut copy paste', function (e) {
     e.preventDefault();
  });
});
</script>

Since I use 32-character random passwords (that, on a good day, I can type correctly maybe one time in three), I obviously prefer to paste the password in from my password manager.

I found an extension that will allegedly overcome this, but I want to know if some way exists in the developer tools (or maybe using userscripts) to prevent this snippet from running. Note that I have fairly marginal programming skills, and minimal experience using developer tools in a browser, so more details will help. :)

Thank you in advance.

about 4 years ago · Juan Pablo Isaza
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