thepug / Speeqe

A multi-user chat application over XMPP.
GNU Affero General Public License v3.0
135 stars 47 forks source link

Ask user to add Speeqe as an application for XMPP links #43

Open GreenLunar opened 9 years ago

GreenLunar commented 9 years ago

Use this code

<script type="text/javascript">
    navigator.registerProtocolHandler("xmpp", "https://hostname/%s", "Speeqe");
</script>

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