blob: 27cc47ca726f50a61dc6394c4a06f8dbc36e688e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<html>
<body>
<script>
var onloadFiredAt;
let start = performance.now();
while (performance.now() - start < 5000);
window.onload = function() {
onloadFiredAt = performance.now();
}
window.addEventListener('message', function(event) {
window.parent.postMessage(onloadFiredAt, "*");
})
</script>
</body>
</html>
|