Electron.NET icon indicating copy to clipboard operation
Electron.NET copied to clipboard

Prevent downloads

Open Elimil opened this issue 5 years ago • 2 comments

Would it be possible to get the will-download event to Session class? I would want to prevent certain file extensions to be downloaded. Another thing would be that could do automation with specific filetypes. More information of this at https://github.com/electron/electron/blob/master/docs/api/download-item.md

Elimil avatar Jun 13 '20 22:06 Elimil

What about to get the Event: 'will-navigate'? https://github.com/electron/electron/blob/master/docs/api/web-contents.md It would be helpful to have some kind of events of this class.

Saviorjke avatar Nov 19 '20 06:11 Saviorjke

We need support - I can't add new features as quickly as possible on my own. Here is a video of how you can install the missing features yourself and submit them as a pull request: https://youtu.be/Po-saU_Z6Ws

Please also test it with you.

GregorBiswanger avatar Jul 02 '21 10:07 GregorBiswanger