MicrosoftEdge / MicrosoftEdge/WebView2Feedback

How to ensure settings like AreDevToolsEnabled, AreDefaultContextMenusEnabled are available to popup windows as well

Open
#1,413 4 comments 1 reaction 1 assignee View on GitHub

@champnic is already working on this.

Since Jun 21, 2021.

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

Description

If NewWindowRequested event is not registered then a popup opens automatically.
However settings like AreDevTools enabled are not preserved.

The app can register for NewWindowRequested event and ensure correct settings are in place.

But the default pop-up handling is great, especially the read only address bar at the top which lets user know they are navigating to an external website from the app, websites certificate, permissions etc.
An app creating its own window would not be able to emulate all the behavior of the popup easily.

Is there a way to control popup window's corewebview2 settings or an option to propagate same settings to popup windows?

AB#33900757

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.