maybe JSONP can help.
NB youll have to change your messages to use json instead of xml
Edit
Major sites such as flickr and twitter support jsonp with callbacks etc
More Related Contents:
- Why does Google prepend while(1); to their JSON responses?
- What are “top level JSON arrays” and why are they a security risk?
- Why do people put code like “throw 1; ” and “for(;;);” in front of json responses? [duplicate]
- JSON security best practices?
- Cross-site XMLHttpRequest
- Why does Google prepend while(1); to their JSON responses?
- How to send secure AJAX requests with PHP and jQuery
- Adding X-CSRF-Token header globally to all instances of XMLHttpRequest();
- What makes an input vulnerable to XSS?
- How can I get jQuery to perform a synchronous, rather than asynchronous, Ajax request?
- How to invoke a JSF managed bean on a HTML DOM event using native JavaScript?
- JavaScript implementation of Gzip [closed]
- Asynchronously load images with jQuery
- Add a “hook” to all AJAX requests on a page
- How do I send an AJAX request on a different port with jQuery?
- Sending binary data in javascript over HTTP
- React JS – Uncaught TypeError: this.props.data.map is not a function
- How to set selected value of jQuery Select2?
- Multiple ajax calls inside a each() function.. then do something once ALL of them are finished?
- How to make a jsonp POST request that specifies contentType with jQuery?
- Is it possible to write to a file (on a disk) using JavaScript?
- Passing variable in parent scope to callback function
- Uploading File using Ajax in Asp.Net Core
- How to replace html element with ajax response?
- How to set a header for a HTTP GET request, and trigger file download?
- how Postman send requests? ajax, same origin policy
- Ajax – 500 Internal Server Error
- Annoying javascript timezone adjustment issue
- Permission denied to access property in IFRAME
- Intercept XMLHttpRequest and modify responseText