The Blog of Daniel

Just my place to write without any delusions of self-importance.

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'
    ];
Comment 0 Comments  

Recent Posts


That was then, this is now.

I think it was around 5 years ago during a telephone conversation with my mother that she asked me "What do you really think of this religion stuff?"  I can't recall my exact answer but I know that it was an incredibly reluctant and wishy-washy answer and I swear if there had been a rooster around, it would have…

Continue Reading 0 Comments  

The call of the wild.

Having lived in my new apartment for almost a month, I have noticed a disturbing emptiness, an emptiness that I never expected; my refrigerator does not sing to me.

Through the last six years or so, I have had the opportunity to visit friends residing in most of the other apartments in this particular complex.  In each of them, identical models of refrigerators stand and each has it's own unique call.  Amber's refrigerator at times would…

Continue Reading 0 Comments  

The accumulation of crap.

When I first moved to Arizona, the only possessions I came with were the ones that would fit in the backseat and trunk of my Chevy Corsica.  By the time I moved into my last apartment, it took a dozen or more car loads in addition to professional movers.  Where did all this stuff come from?

As I step into the next phase of my life and into a new residence, I have reversed course and got it all down to a couple car loads and…

Continue Reading 0 Comments  

Two years later.

I was recently asked if I blamed God when Amber died.  The answer was an instantaneous “No.”  I didn’t blame God, I blamed myself for every part of it.  My walk within my faith may have been drifting all over the road at the time, but I never lost sight of God down that road.  It is because of that, I listened when my friend, defacto brother and brother in Christ, Michael gave me some advice that if I truly felt at fault, then all I need to do is…

Continue Reading 0 Comments  

Cry out to Jesus

Over the last few months or so I have come to the conclusion that my strong convictions are gone and have been replaced by absolute convictions.  Then it dawned on me a few days ago that

Continue Reading 0 Comments  

My night at the Bates Motel?

I'm stuck at home today, sick with something or other, and bored silly.  A perfect time to reminisce.

I moved to Arizona on June 14, 1998.  Well, that is the date I left California, at least.  The goal was to drive to Las Vegas first and pick up my friend Mimi.  Mimi was going to be my interior decorator and make my place look like a real home.  Things didn't go quite as planned.

While driving through California's Death Valley, about 2 miles west of the…

Continue Reading 0 Comments  
Archive