Code viewer for World: CORS proxy test

 
// default body is margin 0 and padding 0 
// give it more whitespace:

  $('body').css( "margin", "20px" );
  $('body').css( "padding", "20px" );


 
document.write ( `

<h1> CORS proxy to get anything off the Internet </h1>

` );

 
 

var  url;
url = "https://humphryscomputing.com/Misc/test.ajax.txt";

// url = "https://humphryscomputing.com/Images/me.2018.jpg";

var curl= "https://corsproxy.io/?" + encodeURIComponent(url);

	$.get ( curl, function ( data ) 
	{
	    console.log (data)
 	});