Forum Discussion
Gurmeet0107
Jun 09, 2022Copper Contributor
How to disable popup "The webpage you are viewing is trying to close the tab"?
I am trying to open a web application in MS Edge in IE compatibility mode. Everytime I launch the application, a popup comes saying "The webpage you are viewing is trying to close the tab. Do you wan...
Kelly_Y
Microsoft
Jun 09, 2022Gurmeet0107 Hello! Are you the developer of the web application? I found a similar report and wanted to confirm if it is the same situation. Thanks!
-Kelly
- Gurmeet0107Jun 10, 2022Copper Contributor
Kelly_Y Hello!! Yes I am the developer of the web application.
- Kelly_YJun 10, 2022
Microsoft
Gurmeet0107 Can you confirm if these repro steps are similar to your scenario?
- Start with a tab that is loading in "MS Edge mode" (non-IE mode tab)
- Execute a window.open() call to a site that will load in IE mode
- The new window does show to be loading in IE mode
- In this new IE mode window execute a window.close() call
- After code is run users will see the prompt
The scenario works as expected with no prompting in following scenarios:
- In standalone IE11.
- If both windows for above repro load in "MS Edge mode" (non-IE mode tabs).
- If both windows for above repro load in IE mode.
-Kelly
- Gurmeet0107Jun 13, 2022Copper ContributorKelly_Y Hello!! Yes the repo steps are correct.