Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent downloads #434

Open
Elimil opened this issue Jun 13, 2020 · 2 comments
Open

Prevent downloads #434

Elimil opened this issue Jun 13, 2020 · 2 comments
Assignees
Milestone

Comments

@Elimil
Copy link

Elimil commented Jun 13, 2020

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 Elimil added the Feature label Jun 13, 2020
@GregorBiswanger GregorBiswanger self-assigned this Jun 18, 2020
@GregorBiswanger GregorBiswanger added this to the 9.31.2 milestone Jun 18, 2020
@GregorBiswanger GregorBiswanger modified the milestones: 9.31.2, 9.31.3 Jul 22, 2020
@Saviorjke
Copy link

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.

@GregorBiswanger
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants