Kiwi IRC Client Send Button
I've been having issues with Apple iOS/iPad/iPhone users on the Kiwi IRC client not being able to chat because of the lack of a "Send Button." Since I don't currently own any iOS product, I could only go by their words and frustrations. Today I finally got around to writing a plugin that places a simple send button just to the right of the input area.
If you find this of use, or even if you just find it at all, please drop a comment below.
Source: /kiwi/plugins/sendbutton.html
<style> #kiwi .send-button { color: #111; padding-right: 5px; padding-left: 5px; margin-right: 0px; display: inline-block; font-size: 12px; line-height: 24px; font-weight: bold; text-align: center; height: 100%; width: 5.0em; background: #ccc; cursor: pointer; } #kiwi .send-button:hover { background: #ddd; } </style> <script type="text/javascript"> (function() { var $icon = $('<div class="send-button"><i class="fa fa-paper-plane" aria-hidden="true"></i> Send</div>'); $icon.on('click', function(event) { var e = jQuery.Event("keydown"); e.which = 13; e.keyCode = 13; $(".controlbox .inp").trigger(e); $(".controlbox .inp").focus(); }); var control = kiwi.components.ControlInput(); control.addPluginIcon($icon); })(); </script>
To make all the magic happen, just add it to your plugins list in config.js
conf.client_plugins = [ '/kiwi/plugins/sendbutton.html' ];