Title: Window: postMessage() method - Web APIs | MDN
Open Graph Title: Window: postMessage() method - Web APIs | MDN
Description: The window.postMessage() method safely enables cross-origin communication between Window objects; e.g., between a page and a pop-up that it spawned, or between a page and an iframe embedded within it.
Open Graph Description: The window.postMessage() method safely enables cross-origin communication between Window objects; e.g., between a page and a pop-up that it spawned, or between a page and an iframe embedded within it.
Opengraph URL: https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
Domain: developer.mozilla.org
IPv4 address: 151.101.65.91
| og:locale | en_US |
| og:image | https://developer.mozilla.org/mdn-social-image.46ac2375.png |
| og:image:type | image/png |
| og:image:height | 1024 |
| og:image:width | 1024 |
| og:image:alt | The MDN logo |
| og:site_name | MDN Web Docs |
| twitter:card | summary |
| twitter:creator | MozDevNet |
| position | 4 |
Links:
| Server | Google Frontend |
| Content-Type | text/html |
| Via | 1.1 google, 1.1 varnish, 1.1 varnish, 1.1 varnish |
| Cache-Control | public, max-age=3600 |
| Last-Modified | Sun, 22 Nov 2026 00:53:20 GMT |
Viewport: width=device-width, initial-scale=1.0