I would like to receive desktop version of page when using getJson from IOS. Is there a way to send customized user-agent and customized referrer when making getJson call ? If the answer is yes how ?
<script>
$.getJSON('http://anyorigin.com/get?url=http://www.somesite.com/page3.php&callback=?', function(data){
//$('#output').html(data.contents);
var siteContents = data.contents;
//writes to textarea
document.myform.outputtext.value = siteContents ;
</script>