prawnsalad / KiwiIRC

This is **DEPRECATED**! Please go to https://github.com/kiwiirc/kiwiirc
https://kiwiirc.com
GNU Affero General Public License v3.0
890 stars 278 forks source link

Ask user to add KiwiIRC as an application for IRC links #766

Closed GreenLunar closed 9 years ago

GreenLunar commented 9 years ago

Use this code

<script type="text/javascript">
    navigator.registerProtocolHandler("irc", "https://hostname/%s", "KiwiIRC");
</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

prawnsalad commented 9 years ago

You can find this already in the Kiwi client settings (click the cogs in the top right)