postMessage – cross domain messaging
The window.postMessage() method allows scripts from one document to pass text messages to scripts in another document, regardless of whether they are cross-domain or not. Scripts in one document still cannot call methods and read properties in other documents, but they can communicate securely using this messaging technique. This technique is called “Cross Document Messaging”, […]
postMessage – cross domain messaging Read More »