Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

172
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!