Complex cross-domain scripting

I have the following scenario: a domain.com user opens a new window on domain2.com. Domain2 contains a rather complex web application in which the user can browse and select documents. When the user searches for the desired document, he wants to send the selected document back to domain1 and close the window. Is this possible anyway? I think JSONP is not good enough because the answer is not right away?

+3
source share
1 answer

Use the Message API to communicate between windows

There is a library for cross-browser implementation.

+2
source

All Articles