title: JSON Proxy: Perform cross-domain web service requests from a single-page HTML app as ubiquitously as possible?
body: <p>I have a HTML5 page that performs geo queries against a bunch of catalog services and renders on google earth and other providers. Our main mission is to make this as light as possible and as portable as possible.</p>
  
  <p>I realize that I have a bit of a problem when making calls to remote catalog web services -- that without overriding browser settings, request will fail do to same-origin policy. </p>
  
  <p>My initial thought is to just use a small proxy somewhere on the same network as the client machine to perform the outgoing requests. </p>
  
  <p>My main concern is I should be able to run this proxy without installing extra software on as many machines as possible -- what platform should I look at? Initially coming to mind are Java and perl.</p>
  
  <p>I will need to run on Mac, Windows, and Linux boxes for sure, and potentially Solaris/sparc. I don't necessarilly need the same proxy across all platforms, but it would be ideal. </p>
  
  <p>Edit: This is a fairly specific case -- could I accomplish this with e.g a chrome plugin? It really only has to work on one browser, but that browser has to run on most/all platforms.</p>