Browse Source

Added unread badge to Yahoo Messenger

Fixes #164
pull/291/merge
Ramiro Saenz 9 years ago
parent
commit
fedab52ba0
  1. 1
      app/store/ServicesList.js

1
app/store/ServicesList.js

@ -277,6 +277,7 @@ Ext.define('Rambox.store.ServicesList', {
,description: 'Allows you to instant message with anyone on the Yahoo server. Tells you when you get mail, and gives stock quotes.'
,url: 'https://messenger.yahoo.com/'
,type: 'messaging'
,js_unread: 'function checkUnread(){updateBadge(document.getElementsByClassName("list-item-unread-indicator").length)}function updateBadge(e){e>=1?document.title="("+e+") "+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,3000);'
},
{
id: 'voxer'

Loading…
Cancel
Save