blob: d7ca7614415aa9bd0dfabd605f6c4825a63184fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html>
<html>
<head><title>Access parent dom</title>
</head>
<body>
<script type="text/javascript">
try
{
if (window.parent.document)
{
parent.window.postMessage("window.parent.document", "*");
}
}
catch(e)
{
parent.window.postMessage("!window.parent.document", "*");
}
</script>
</body>
</html>
|