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

261
Visualizações
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
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