を以下の記事、そのまま試してみた。 HubLog: Setting the height of a cross-domain iframe using postMessage parent.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <script type="text/javascript"> window.addEventListener("message", receiveSize, false); function receiveSize(e) { if (e.origin === "http://banyan.github.com") // for security: set this to the dom