blob: 68a67f8818a3e88db5c56da67187464bb6b0257c (
plain)
1
2
3
4
5
6
7
8
9
|
<script>
try {
window.screen.orientation.addEventListener("change", () => {
parent.window.postMessage(screen.orientation.type, "*");
});
} catch (err) {
parent.window.postMessage(err.message, "*");
}
</script>
|