MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Feature]: Devtools open event should be there such that opening of new window can be prevented

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

@Lakshmisha-KS is already working on this.

Since Nov 26, 2024.

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

Description

Describe the feature/enhancement you need

When we open Devtools , then it opens it in a new webview2 instance , but as in Edge browser it opens within the same window , so there should be an event such that opening of new window can be prevented and within the same window we can open it .

cc : @JosephJin0815 , @champnic , @yild

The scenario/use case where you would use this feature

Instead of opening in a new window
image

it should open in the same window .
image

When we open Devtools , then it opens it in a new webview2 instance , but as in Edge browser it opens within the same window , so there should be an event such that opening of new window can be prevented and within the same window we can open it .

How important is this request to you?

Critical. My app's basic functions wouldn't work without it.

Suggested implementation

No response

What does your app do? Is there a pending deadline for this request?

No response

AB#55327964

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.