Open GreenLunar opened 8 years ago
Use this code
<script type="text/javascript"> navigator.registerProtocolHandler("xmpp", "https://hostname/%s", "Candy"); </script>
Could you say something about how/where this works? Also a PR is much better than an issue ;)
See http://www.lookout.net/test/handler/ http://www.lookout.net/2012/01/testing-registerprotocolhandler-and-web.html https://html.spec.whatwg.org/multipage/webappapis.html#dom-navigator-registerprotocolhandler
Use this code