Skip to content

Instantly share code, notes, and snippets.

@Mickey-
Created May 26, 2014 06:05
Show Gist options
  • Save Mickey-/e605dedf375bc47fbb15 to your computer and use it in GitHub Desktop.
Save Mickey-/e605dedf375bc47fbb15 to your computer and use it in GitHub Desktop.
cross-domain doProxy.htm
$rundata.setLayoutEnabled(false)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>iframe跨域解决方案</title>
</head>
<body>
<script>
var json = top.KISSY.unparam(location.search.slice(1));
top.doProxy(json);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment