jpillora/xdomain · GitHub

Automagically makes XHR requests work cross-domain by tunneling all communications through an IFRAME on your page.

Note sure if it's a wise idea, but it's a thing now.

Henning Koch