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.