unregisterScriptMessageHandler

fun unregisterScriptMessageHandler(name: String, worldName: String? = null)(source)

Unregisters a previously registered message handler in script world with name @world_name. If null is passed as the @world_name, the default world will be used.

Note that this does not disconnect handlers for the #WebKitUserContentManager::script-message-received signal; they will be kept connected, but the signal will not be emitted unless the handler name is registered again.

See also webkit_user_content_manager_register_script_message_handler().

Since

2.40

Parameters

name

Name of the script message channel

worldName

the name of a #WebKitScriptWorld