1

How to Disable Downloading in Chromium CEF3? I looked in the event onBeforeDownload but can't find a thing. All the parameters are constant. If I don't put any code in it will still continue to download. Thanks in advance

Ago
  • 755
  • 7
  • 28

1 Answers1

5

By default, all downloads are cancelled : https://magpcss.org/ceforum/apidocs3/projects/(default)/CefDownloadHandler.html

You can also use the TChromium.OnDownloadUpdated event and execute this to cancel the download :

callback.cancel;