blob: fbaf436330f5e6fe466110d4e0b0795f95b9a618 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!DOCTYPE html>
<script src="utils.js"></script>
<title>Fenced frame content to report any changes in inner dimensions</title>
<body>
<script>
async function init() {
const [resize_lock_inner_page_is_ready_key,
resize_lock_resize_is_done_key,
resize_lock_report_inner_dimensions_key] = parseKeylist();
writeValueToServer(resize_lock_inner_page_is_ready_key, "ready");
await nextValueFromServer(resize_lock_resize_is_done_key);
const response = window.innerWidth + "x" + window.innerHeight;
writeValueToServer(resize_lock_report_inner_dimensions_key, response);
}
init();
</script>
</body>
</html>
|