safeframe
safeframe copied to clipboard
Introduce .ext.regMessageListener(source_window, message_handler) to …
…allow ext code to optionally register a postMessage handler on a window of its own, that is NOT window, window.parent, or window.top, in which messaging is restricted for security reasons.
Refer to: https://github.com/InteractiveAdvertisingBureau/safeframe/issues/9 for more context.