mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-07-04 19:29:55 +00:00
21 lines
489 B
HTML
21 lines
489 B
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>browser_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>
|