blob: 5b7400d457c24cc124973f61c9f582d612deab2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<html>
<body onload="test();">
<script>
function test() {
var status;
try {
var d = frames[0].document.open();
status = "Allowed";
d.close();
} catch (e) {
status = "Disallowed";
}
document.title = status;
}
</script>
<div id=result></div>
<iframe src="data:text/html,"></iframe>
</body>
</html>
|