blob: 7bb2cec81ca2de7146c61c8d7c91dfd871ba867f [file] [log] [blame]
<script>
function getFrameURL(host) {
var result = "http://" + host;
if (location.port) {
result += ":";
result += location.port;
}
result += location.pathname;
return result;
}
var iframe = document.createElement("iframe");
iframe.src = getFrameURL("nonapp.com");
document.documentElement.appendChild(iframe);
</script>