Browse Source

added devRant service

pull/1788/head
David Neustadt 7 years ago
parent
commit
0ea5e8a695
  1. 9
      app/store/ServicesList.js
  2. BIN
      resources/icons/devrant.png

9
app/store/ServicesList.js

@ -908,6 +908,15 @@ Ext.define('Rambox.store.ServicesList', {
,manual_notifications: true
,dont_update_unread_from_title: true
,js_unread: 'function checkUnread(){updateBadge(document.querySelectorAll(".SSPGKf.EyyDtb.Q6oXP:not(.oCHqfe) .eM5l9e.FVKzAb").length)}function updateBadge(e){e>=1?rambox.setUnreadCount(e):rambox.clearUnreadCount()}setInterval(checkUnread,3000);'
},
{
id: 'devrant'
,logo: 'devrant.png'
,name: 'devRant'
,description: 'Share and bond over successes and frustrations with code, tech and life as a programmer'
,url: 'https://devrant.com/'
,type: 'messaging'
,js_unread: 'function checkUnread(){var a=document.querySelectorAll(".menu-notif.notif-badge")[0];updateBadge(t=a===undefined?0:(a.textContent.length?parseInt(a.textContent.replace(/[^0-9]/g,"")):0))}function updateBadge(a){a>=1?rambox.setUnreadCount(a):rambox.clearUnreadCount()}setInterval(checkUnread,3000);'
}
]
});

BIN
resources/icons/devrant.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Loading…
Cancel
Save