From 931e5df2f0a6058b526a8a32827174adfabed3c7 Mon Sep 17 00:00:00 2001 From: smartfridge <37928912+smartfrigde@users.noreply.github.com> Date: Tue, 13 Dec 2022 11:02:09 +0100 Subject: [PATCH] Allow stream popouts --- src/window.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/window.ts b/src/window.ts index d33e05a..a217a93 100644 --- a/src/window.ts +++ b/src/window.ts @@ -91,7 +91,8 @@ async function doAfterDefiningTheWindow() { mainWindow.webContents.setWindowOpenHandler(({url}) => { // Allow about:blank (used by Vencord QuickCss popup) if (url === "about:blank") return {action: "allow"}; - + // Allow Discord stream popout + if (url === "https://discord.com/popout") return {action: "allow"}; if (url.startsWith("https:" || url.startsWith("http:") || url.startsWith("mailto:"))) { shell.openExternal(url); } else {