Browse Source

Merge pull request #1788 from dneustadt/add-devrant-service

added devRant service
pull/1772/merge
Ramiro Saenz 7 years ago committed by GitHub
parent
commit
a2ab4c1395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      app/store/ServicesList.js
  2. BIN
      resources/icons/devrant.png

9
app/store/ServicesList.js

@ -910,6 +910,15 @@ Ext.define('Rambox.store.ServicesList', {
,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);' ,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);'
},
{
id: 'reddit' id: 'reddit'
,logo: 'reddit.png' ,logo: 'reddit.png'
,name: 'Reddit' ,name: 'Reddit'

BIN
resources/icons/devrant.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Loading…
Cancel
Save