Example: https://badoo.com/ru/signin/
if we'll click on the button "Vkontakte" or "Facebook" after that new popup window will be create. I want to do that new popup window will be open in my own tab.
I tried to do it in event "BeforePopup" but my way doesn't work. Example:
- Code: Select all
myHandle:HWND;... myHandle:= findwindow(nil, 'Wrapper');...procedure TChromium_wrapper.BeforePopup(Sender: TObject; const browser: ICefBrowser; const frame: ICefFrame; const targetUrl, targetFrameName: ustring; var popupFeatures: TCefPopupFeatures; var windowInfo: TCefWindowInfo; var client: ICefClient; var settings: TCefBrowserSettings; var noJavascriptAccess: Boolean; out Result: Boolean);begin windowInfo.window := myHandle;end;
I can't create new browser because this popup window binding with current browser(ICefBrowser).Anybody can help me in this trouble?