Browse Source

Added Kiwi IRC

Fixes #111
pull/330/head
Ramiro Saenz 9 years ago
parent
commit
8af0b29801
  1. 9
      app/store/ServicesList.js
  2. BIN
      resources/icons/kiwi.png

9
app/store/ServicesList.js

@ -470,6 +470,15 @@ Ext.define('Rambox.store.ServicesList', {
,description: 'Aim offers free Text Messaging, Group Conversations, Media Sharing, Social Notifications, and more.' ,description: 'Aim offers free Text Messaging, Group Conversations, Media Sharing, Social Notifications, and more.'
,url: 'http://aim.com/' ,url: 'http://aim.com/'
,type: 'messaging' ,type: 'messaging'
},
{
id: 'kiwi'
,logo: 'kiwi.png'
,name: 'Kiwi IRC'
,description: 'KiwiIRC makes Web IRC easy. A hand-crafted IRC client that you can enjoy. Designed to be used easily and freely.'
,url: 'https://kiwiirc.com/client'
,type: 'messaging'
,js_unread: 'function getUnreadCount(){var a=0;$(".activity").each(function(){a+=parseInt($(this).html())});var b=!1;return $(".panel[style*=display: block] .msg").each(function(){b?a++:$(this).hasClass("last_seen")&&(b=!0)}),a}function updateTitle(a){count=getUnreadCount(),cleanTitle=a.match(re),null!==cleanTitle&&cleanTitle.length>1?cleanTitle=cleanTitle[1]:cleanTitle=a,a=count>0?"("+getUnreadCount()+") "+cleanTitle:cleanTitle,$("title").text(a)}var re=/\(\d+\)[ ](.*)/;Object.defineProperty(document,"title",{configurable:!0,set:function(a){updateTitle(a)},get:function(){return $("title").text()}}),setInterval(function(){updateTitle(document.title)},3e3);'
} }
] ]
}); });

BIN
resources/icons/kiwi.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Loading…
Cancel
Save