registerProtocolHandler
Limited availability
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
- Chrome 13 Released on 2011-08-02
- Chrome Android ❌ See crbug.com/40964464
- Edge 79 Released on 2020-01-15
- Firefox 2 Released on 2006-10-24
- Firefox for Android 4 Released on 2011-03-29
- Safari ❌
- Safari on iOS ❌
Specifications
- HTML Standard (#custom-handlers), from HTML Workstream (WHATWG).