[openstreetmap/openstreetmap-website] Use $.ajax instead of iframe to make remote control requests (PR #3760)
Anton Khorev
notifications at github.com
Tue Oct 25 11:01:48 UTC 2022
In modern browsers it's possible to do [no-cors fetch](https://developer.mozilla.org/en-US/docs/Web/API/Request/mode#no-cors) instead of adding hidden elements and altering their src:
```
fetch(url, { mode: "no-cors" })
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3760#issuecomment-1290363544
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3760/c1290363544 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221025/c85c46e8/attachment.htm>
More information about the rails-dev
mailing list