简体   繁体   中英

Issue with window.opener in trusted sites (IE8)

Here is my issue: I am opening a popup from the main browser window, where the use logs in to a 3rd party site. After logging in, the popup window is being redirected to our site, where I have to send back a message to the original window.

I am using window.opener for sending the message. Everything works fine in IE*/Firefox/etc, but if the 3rd party site is added to the trusted sites in IE, the window.opener won't work anymore.

Why does this happen? How could this be resolved?

Thanks in advance

Going from one security zone to another has its consequences. I don't think there is a workaround.

This was already discussed as window.opener becomes null in Internet Explorer after security zone change

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM