MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Stopping Script Execution

Open
#1,865 4 comments 0 reactions 1 assignee View on GitHub

@champnic is already working on this.

Since Oct 29, 2021.

feature request tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Is there a way to stop script execution when a page is loading? The WebView2 class has a Stop method, which stops other resources from loading, however that does not stop scripts from continuing to run, which is still blocking processing. This appears to be blocking WebView2 GoBack and GoForward navigation as an example, until the current page is loaded. So for example if you "GoBack" twice the second page in history is not loaded until the first page is completely loaded.

Thanks,
Bobby

AB#36866783

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.