News for hackers. Stuff that matters.
Re:GitHub hit by DDoS attack by dandelany on Friday March 27, 2015 @01:27PM (#9277732)
They're using neither. It's a cross-domain call so Github could block a regular AJAX GET by just not including ACAO headers. So they are using $.get with dataType 'script'. This is basically like JSONP without the callback - it adds a script tag with the remote URL to the page which means the client has no choice but to run the contents.

There are no comments on this comment yet.