Is there an alternative way to send a cross origin request to and receive a response from a website hosted on infinityfree? One which is not restricted?
Edit:
I was using XMLHttpRequest. Maybe Ajax is plenty broad a term.
Thanks for confirming it. I was trying to make a bookmarklet that sends an Ajax request and shows the response from my website. Bookmarklets can be run on any domain so I guess they run into the security system too.
Any suggestions besides accepting the fact that it won’t work?
Thank you. There is actually one way to allow cross origin requests which I was trying to use. It is by setting the Access-Control-Allow-Origin header in my PHP script.(That is if I understand it right) But it seems the security system disables this header.
Anyway my code doesn’t work properly.