<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 21, 2015, at 7:38 PM, Anne van Kesteren &lt;<a href="mailto:annevk@annevk.nl" class="">annevk@annevk.nl</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Fri, May 22, 2015 at 1:25 AM, Anders Carlsson &lt;<a href="mailto:andersca@apple.com" class="">andersca@apple.com</a>&gt; wrote:<br class=""><blockquote type="cite" class="">Sam Weinig 2015-05-15 10:12:54 PDT:<br class=""><blockquote type="cite" class="">Support for navigator.registerProtocolHandler/unregisterProtocolHandler is not something we want to support in WebKit2 at this time as we are not confident it is a good Web API. This might be a good conversation for webkit-dev.<br class=""></blockquote><br class="">I agree with Sam.<br class=""></blockquote><br class="">So what else should web-based email or IRC clients or some such use to<br class="">integrate with sites that offer mailto and irc URLs? Especially for<br class="">email it seems like a worthwhile thing to solve. And that there's no<br class="">cross-browser way to do it in 2015 is somewhat of a shame.<br class=""></div></div></blockquote><br class=""></div><div>I think it’s useful to have an API for the "mailto" use case. A lot of people use webmail as their default mail client, and it seems nice to make mailto: links do the right thing for them. We do allow changing the default Mail reader to a native app, at least on Mac. I would almost consider having navigator.registerProtocolHandler just for that use case.</div><div><br class=""></div><div>On the face of it, the registerProtocolHandler API seems more general than necessary, but the actual spec for it has a whitelist of specific schemes, most of which seem reasonable for this kind of purpose: <a href="https://html.spec.whatwg.org/#custom-handlers" class="">https://html.spec.whatwg.org/#custom-handlers</a></div><div><br class=""></div><div>I am curious what Sam and Anders dislike about this API, and whether it might be something we’d want to support at least with a more restricted set of schemes.</div><div><br class=""></div><div>(I am more dubious of the content handler aspect.)</div><div><br class=""></div><div>Regards,</div><div>Maciej</div><div><br class=""></div></body></html>