MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Intercept PDF "save" button and Downloads before Save dialog shows
@champnic is already working on this.
Since Jan 6, 2022.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
We are looking at the possibility of using WebView2 in our software. We use CefSharp at the moment, but we're not always satisfied with it. At the same time, it is important for us to have the same features in CefSharp as well as WebView. CefSharp and WebView will be two engines to view a URL with.
One of the things we do is set a download location for a URL (a WebLink object which has the URL, the download location, the browser engine, among other things). With CefSharp, at the time of clicking on the save button in the PDF viewer, we ask the user if they want to download the file through the regular browser way of doing this, or should we import it for them at the chosen location in the WebLink. I have not found a way to implement this with WebView. At the moment the save button is clicked in the PDF viewer, the regular "Save" dialog is shown. What I want is to ask the user how they would like to download this PDF and then choose to go the regular browser route or import it for them (without showing the save dialog).
Are there any ways to achieve this for WebView2?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.