Web features explorer

registerProtocolHandler

Limited availability
Tags: api

The navigator.registerProtocolHandler() method declares a site's ability to handle an address scheme (also known as a protocol). For example, an email site can register to open mailto: URLs or a VoIP site to open tel: URLs.

Learning resources on MDN

Browser support

Specifications