I didn't 开发者_StackOverflow社区think it was possible to make a cross-domain, client-side api call and use the results within a web page without making the call using JSONP. A colleague recommended DOJO for this, but dojo.io.script seems to require jsonp. If it's possible, I'll dig into the dojo some more -- but i'm thinking it's a lost cause.
In HTML5 there is limited support for cross domain requests
see HTML5 Security in a Nutshell
See also Cross-domain XHR using postMessage and HTML5-Cross-browser-Polyfills
Other than Adardesign's answer, the only way would be to create a javascript bridge to a signed java applet and do this indirectly.
Take a look at this comparison.
精彩评论