Skip to content

ElectronApp.getApplicationNameForProtocol method

ElectronApp › getApplicationNameForProtocol

Unofficial

Returns the application name of the default handler for the protocol of a URL.

Signature:

getApplicationNameForProtocol(url: string): string

Parameters:

Parameter Type Description
url string The URL whose protocol handler to look up.

Returns: stringThe handler application name, or an empty string if there is no handler.