[CEF OSR Linux] Handling JS Dialogs and popups

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

[CEF OSR Linux] Handling JS Dialogs and popups

Postby Scurry » Wed Sep 13, 2023 7:41 pm

Hello,
A bit stuck with OSR JS Dialogs handling and popups.
If I understood correctly from cefclient example in order to handle JS dialogs I need to create my own modal window and fill it with provided data, then handle the user input?
From example we need to override GetJSDialogHandler and OnJSDialog.
Interesting thing that when I execute cefclient with extra prints added and recompiled - I receive print only from Get function, but no prints from OnJS... even after completly commenting code in dialgo handler funccitons it continued to work :o
Also intersted in popups (cause actual app is runing in ubuntu frame) - how to properly handle it without bypassing?
Scurry
Techie
 
Posts: 26
Joined: Tue Nov 15, 2022 10:17 am

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 202 guests