blob: f88e8668f1fba398998e6116cc53f1a69083bdaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>session_formdata_sample.html</title>
</head>
<body>
<input id="txt" />
<script type="text/javascript;version=1.8">
let isOuter = window == window.top;
if (isOuter) {
let iframe = document.createElement("iframe");
iframe.setAttribute("src", "https://example.com" + location.pathname);
document.body.appendChild(iframe);
}
</script>
</body>
</html>
|