Web Security · Browser Security
postMessage
Also known as: Cross-Document Messaging
A browser API for sending a message to another window across origins. The sender should name the intended target origin, and the receiver should check the message's exact origin, expected source window when relevant, and data shape before acting. A reachable window reference alone does not authorize its messages.