AllowMessages Property  
 

Enables message passing between the host and the current page.

Syntax

object.AllowMessages [= value ]

Remarks

The AllowMessages property enables communication between the web page and the host application through the window.chrome.webview.postMessage API. This allows JavaScript running in the page to send messages back to your application, enabling advanced integration scenarios. If disabled, such messages are blocked and the corresponding events will never occur in your host code. This is commonly enabled when embedding custom HTML user interfaces that need to exchange data with the native application.

Data Type

Boolean

See Also

AllowNavigation Property, AllowScripting Property, AllowZoom Property, Execute Method, PostWebMessage Method, MessageReceived Event