summary refs log tree commit diff
path: root/assets/popout.html
blob: 4c012869fa4f350c65ff85601428b3c1e67c68ba (plain) (blame)
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
29
30
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta content="width=device-width, initial-scale=1.0, maximum-scale=3.0" name="viewport" />

		<title>Discord Popout</title>
		<link rel="icon" href="/assets/ec2c34cadd4b5f4594415127380a85e6.ico" />
		<script nonce="MTI1LDcwLDIzNSw4MiwxODcsMjM4LDExNCw5">
			(window.onload = function () {
				null != window.opener &&
					window.opener.postMessage({ discordPopoutEvent: { type: "loaded", key: window.windowKey } }, window.origin);
			}),
				(window.onunload = function () {
					null != window.opener &&
						window.opener.postMessage({ discordPopoutEvent: { type: "unloaded", key: window.windowKey } }, window.origin);
				});
		</script>
		<style>
			body,
			html {
				overflow: hidden;
			}
		</style>
	</head>

	<body>
		<div id="app-mount"></div>
	</body>
</html>