summary refs log tree commit diff
path: root/assets/popout.html
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-27 09:47:26 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-30 17:10:46 +0200
commit1435f58d8474609f176e68eaef7c9161b935720e (patch)
tree89e3127eb7393da90d9fe4edfee6250110f87fa2 /assets/popout.html
parentPrettier (diff)
downloadserver-1435f58d8474609f176e68eaef7c9161b935720e.tar.xz
This is for later dev/rory/old_staging_webrtc
Diffstat (limited to 'assets/popout.html')
-rw-r--r--assets/popout.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/assets/popout.html b/assets/popout.html
new file mode 100644
index 00000000..4c012869
--- /dev/null
+++ b/assets/popout.html
@@ -0,0 +1,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>