"On Before Upload dialog" type events?

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.

"On Before Upload dialog" type events?

Postby HarmlessDave » Thu Jun 22, 2023 6:19 pm

A search on "upload" in the CEFClient, etc. source only turns up the upload progress events. Is there any way to other than injecting site-specific JavaScript to let C++ code decide whether or not to allow showing the choose file dialog? Or is that something that Chromium does not expose at all?

Our use case is similar to navigation blocking, except we only want to allow file uploads for certain "safe" web pages when we still allow navigating to other pages that include file upload options.
HarmlessDave
Expert
 
Posts: 370
Joined: Fri Jul 11, 2014 2:02 pm

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 211 guests