Pārlūkot izejas kodu

UI: Enable BTTV login popup

jp9000 5 gadi atpakaļ
vecāks
revīzija
eda63032e0
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      UI/auth-twitch.cpp

+ 4 - 0
UI/auth-twitch.cpp

@@ -38,6 +38,10 @@ TwitchAuth::TwitchAuth(const Def &d) : OAuthStreamKey(d)
 	cef->add_popup_whitelist_url(
 		"https://twitch.tv/popout/frankerfacez/chat?ffz-settings",
 		this);
+
+	/* enables javascript-based popups.  basically bttv popups */
+	cef->add_popup_whitelist_url("about:blank#blocked", this);
+
 	uiLoadTimer.setSingleShot(true);
 	uiLoadTimer.setInterval(500);
 	connect(&uiLoadTimer, &QTimer::timeout, this,