blob: f98c5a8cd77717d7d37078797c57241c53e24c27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
body {
height: 10000px;
margin: 0;
}
p {
position: absolute;
margin: 0;
}
</style>
<script>
window.onload = () => {
window.parent.postMessage({
url: window.location.toString(),
scrollY: window.scrollY
}, "*");
}
</script>
</head>
<body>
<p style="top: 2000px" id="target">Target</p>
<p style="top: 4000px" id="fromRedirect">Target</p>
</body>
</html>
|