protocolHandlers API
Manifest file properties
protocol_handlers
A list of protocol handler definitions.
Types
ExtensionURL
A path relative to the root of the extension.
string
HttpURL
string
ProtocolHandler
Represents a protocol handler definition.
object
name
A user-readable title string for the protocol handler. This will be displayed to the user in interface objects as needed.
protocol
The protocol the site wishes to handle, specified as a string. For example, you can register to handle SMS text message links by registering to handle the “sms” scheme.
uriTemplate
The URL of the handler, as a string. This string should include “%s” as a placeholder which will be replaced with the escaped URL of the document to be handled. This URL might be a true URL, or it could be a phone number, email address, or so forth.