Communication between Edge and IE Compatible Mode

YUNHEE CHO 21 Reputation points
2022-04-18T08:03:11.91+00:00

An application running in Edge opens a pop-up window in which a common application is running.
The common application is opened in IE compatible mode. (by company's policy)
When the two windows (parent/child) communicate with each other using postMessage(), it doesn't work.

Q1. Is communication between Edge and IE Mode using postMessage() impossible?
Q2. If it is impossible, is there any other way to communicate except setting two windows running in the same mode?
Q3. Regardless of browser's IE-mode setting, is there a way to open a pop-up in a specific mode (IE compatible or not) by programming ?

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,108 questions
0 comments No comments
{count} votes

Accepted answer
  1. XuDong Peng-MSFT 10,096 Reputation points Microsoft Vendor
    2022-04-19T07:27:28.56+00:00

    Hi @YUNHEE CHO ,

    Is communication between Edge and IE Mode using postMessage() impossible?

    As far as I know this is not possible, they actually run in different browsers.

    If it is impossible, is there any other way to communicate except setting two windows running in the same mode?

    You could try sharing cookies between Edge and IE mode, I think it might work for you. It is implemented through group policy configuration, you can refer to related documents: How cookie sharing works and Configure Edge IE mode policy.

    Regardless of browser's IE-mode setting, is there a way to open a pop-up in a specific mode (IE compatible or not) by programming ?

    If you need to open it as a popup, I think this should need to use javascript to achieve. But you can't specify the mode via javascript, bacause it affected by IE mode settings. You can launch Edge through automation code(such as Selenium), and set whether to run IE mode, but it opens a new browser instance, not a pop-up. To sum up, I think this requirement is impoosible.

    Regards,
    Xudong Peng


    If the answer is the right solution, 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.

    0 comments No comments

0 additional answers

Sort by: Most helpful