Hi @Arsalan afzal,
After I tested it, as you said, the popup is not generated if I launch the same application on Internet Explorer.
In IE mode, you can add the window.open() method and reference the "_self" attribute to disable this pop-up in the window you want to close.
Here is part of the code I debugged:
<script>
window.onload = function() {
window.open('', '_self');
window.close();
}
</script>
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Jinxin Wang