Skip to main content

unlistenWindowMessage()

unlistenWindowMessage() allows you to disable an Appsmith app from reacting to messages from the parent website.

Signature

unlistenWindowMessage(domain: string)

Parameters

domain

This is the address of the website with an already active action. If no active action exists in this domain, a warning appears in the console.

Example:

unlistenWindowMessage("https://mywebsite.com")

See also