crossmania
talk crossdomain with your browser. it's available through npm:
npm install crossmania
usage is simple:
var mania = ; // call .string() afterwards to talk raw stringsmania;mania;mania;
mania works by relying on cors
based ajax if available (chrome, safari, firefox).
for IE8+ and Opera it uses an iframe proxy frame and the postMessage
api.
for IE7- and all others it falls back to an jsonp wrapper.
In the browser use the crossmania available for client-side javascript