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

182
Visualizações
Contextmenu event is not triggered on iOS 13.1 and above Browser while selecting text

The iOS version is updated to 13.1, on the long-press context menu event is not triggering in the browser and it is displaying the default browser context menu. We want to hide these context menus .

!DOCTYPE html>
<html>
<head>
<style>
div {
  background: yellow;
  border: 1px solid black;
  padding: 10px;
}
</style>
</head>
<body>



<div id="myDIV">
<p>Right-click inside this box to see the context menu!


</div>



<script>
document.getElementById("myDIV").addEventListener("contextmenu", myFunction);

function myFunction() {
 alert('context menu fired');

}
</script>


</body>
</html>

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