3 ms·
It's not even an XHR request. It's a JSONP-style insert-<script src="someurl"></script>-into-the-body "request". The fact they used jQuery to do this is incred
by TazeTSchnitzel 12y ago
It's not even an XHR request. It's a JSONP-style insert-<script src="someurl"></script>-into-the-body "request".
The fact they used jQuery to do this is incredibly amateurish. Especially since they didn't seem to realise they could do the same trick with <img> without creating an XSS vector.
- antihero 12y agoI think it is an XHR request, despite that not being the best option, as you later explain. As in, it includes the jQuery script and then does a `$.ajax()` call.