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

260
Views
doesn't work on iphone: ReferenceError: Cant find variable: request

Hey guys so i got a problem..

I made an web-scraper in vanilla js today and everything works fine on Windows, Android and MACOS..

However as soon as i want to use it on Iphone (Android works fine..) i get this error message: ReferenceError: Cant find variable: request

I dont know what to do.. I used XMLHttpRequest to get all the data and it somehow doesnt seem to work on the iphone. Changing browser also dosen't change anything.. Chrome, Safari and Opera dont work.

I already searched almost 3 hours on the net but there doesn't seem to be a solution online yet..

Here is the code i can show please help :)


  xhr.open("GET","https://cors-anywhere.herokuapp.com/"+url",true);
  xhr.send(XMLHttpRequest);

  xhr.responseType = "document";

Thanks in advance.

about 4 years ago · Santiago Gelvez
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!