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