1

Got a super annoying problem with IE10+. Window.PostMessage would not work in IE unless I ran my application in an iframe. But if I could I would use jQuery Window plugin instead.

Basically I have CMS and an APP.

In basic terms CMS triggers for the APP to open in a new browser window window.open().

After all set and done on APP side I am able to fire window.postMessage() to my CMS that triggers UI update. Works perfect in normal browsers but doesn't work in IE.

Someone suggested to use document.domain to workaround the problem but that didn't help with IE problem.

Someone suggested to try XMLHttpRequest but thats just cross-origin ajax i.e. client-to-server request.

Running the APP in a frame or iframe is out of the question (breaks authentication).

Anyone got other suggestions on this topic?

sideshowbarker
  • 81,827
  • 26
  • 193
  • 197
iiminov
  • 969
  • 1
  • 15
  • 34
  • http://stackoverflow.com/questions/18187139/postmessage-between-cross-domain-windows-not-working-in-ie10-it-works-for-frame – epascarello Apr 28 '15 at 13:05
  • Yep, I know. But if I could use an ``iframe`` I would stick with jQuery Window plugin. – iiminov Apr 28 '15 at 14:00

0 Answers0