Or do it the other way around.
As I said, use a PHP-based proxy server.
It can be as simple as this:
$url = $_GET["url"];
echo file_get_contents("http://" + url );
Name that PHP file "proxy.php".
And then you could do something like
And now the JS code in your main page can read anything it wants in the iframe.