I tried out "whateverorigin.org" for overcoming the cross-domain policy. It works fine, except if the URL of the other page contains parameters and a question mark.
var url = 'http://www.example.com/something?parameter=test';
$.getJSON('http://whateverorigin.org/get?url=' + encodeURIComponent(url) + '&callback=?', function(data){
var html = ""+data.contents;
$("#output").html(html);
});
The question mark doesn't get recognized, so the page is not being found. Is there any solution for this issue?