Share via

programmatically closing a tab in new Edge

Anonymous
2020-06-17T23:26:28+00:00

ScriptManager.RegisterClientScriptBlock(Page, GetType(Page), "close", "window.close();", True)

This code used to close the tab; with the new Edge, it no longer works.

How do you programmatically close a tab in the new Edge, or is this ability no longer available?

Microsoft Edge | Tabs, address bar, and search | Windows 10

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2020-06-17T23:32:28+00:00

Good day ! I am an independent adviser here to help you!

  1. This question is pretty advanced. It may fair better in stackoverflow or our more technical site: https://techcommunity.microsoft.com/
  2. May check here for more code: https://stackoverflow.com/questions/49469807/ho...
  3. We would need to know what language you are using as well for this
  4. Microsofts new edge uses an entirely new structure (Chrominium) so this code probably doesnt work anymore.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful