Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

173
Vistas
Why is adblocker blocking an ajax request?

I am using AJAX to check if a username is taken while the user is typing. Opera's adblocker is blocking the script from running. The file path is http://localhost/flashcardapp/inc/isUidTaken.inc.php?uid=asf. I can call the file directly, but can't seem to access it with AJAX. When I turn off adblocker, the issue is resolved.

I have tried without effect changing the names of files and folders.

Can I resolve this issue, or should I just leave it as it is, as the server checks if the username is taken as well, the only thing is it would be less convenient if they have to submit the form and then see if their username is taken.

$("input[name='uid']").on('change', function() {
  var value = $(this).val();
  $.ajax({
    url: "inc/isUidTaken.inc.php",
    data: {
      uid: value
    },
    type: "GET",
    success: function(data) {
      console.log(data);
    }
  });
});
about 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda