Vulich Fernando 5 years ago committed by GitHub
parent
commit
d87dd0cfa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 36
      api/services.json

36
api/services.json

@ -239,6 +239,21 @@
"titleBlink": false, "titleBlink": false,
"custom_domain": false "custom_domain": false
}, },
{
"id": "element",
"logo": "element.png",
"name": "Element",
"description": "Secure messaging app with strong end-to-end encryption, advanced group chat privacy settings, secure video calls for teams, encrypted communication using Matrix open network. Riot.im is now Element",
"url": "https://app.element.io/",
"type": "messaging",
"allow_popups": false,
"manual_notifications": false,
"js_unread": "function checkUnread(){var a=document.getElementsByClassName(\"mx_RoomTile_nameContainer\"),b=0;for(i=0;i<a.length;i++){var c=a[i].getElementsByClassName(\"mx_RoomTile_badge\");for(ii=0;ii<c.length;ii++)parseInt(c[ii].textContent.trim())%1===0&&(b+=parseInt(c[ii].textContent.trim()))}updateBadge(b)}function updateBadge(a){a>=1?document.title=\"(\"+a+\") \"+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,1e3);",
"userAgent": "",
"note": "",
"titleBlink": false,
"custom_domain": true
},
{ {
"id": "fastmail", "id": "fastmail",
"logo": "fastmail.png", "logo": "fastmail.png",
@ -248,7 +263,7 @@
"type": "email", "type": "email",
"allow_popups": false, "allow_popups": false,
"manual_notifications": false, "manual_notifications": false,
"js_unread": "setTimeout(function(){O.WindowController.openExternal=function(a){var b=document.createElement(\"a\");b.href=a,b.setAttribute(\"target\",\"_blank\"),b.click()};},3000);", "js_unread": "function checkUnread(){let e=0;document.querySelectorAll(\".v-MailboxSource-badge\").forEach(a=>{![\"/mail/Drafts/\",\"/mail/Spam/\"].includes(a.parentElement.pathname)&&parseInt(a.innerText)&&(e+=parseInt(a.innerText))}),updateBadge(e)}function updateBadge(e){e&&e>=1?rambox.setUnreadCount(e):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);",
"userAgent": "", "userAgent": "",
"note": "", "note": "",
"titleBlink": false, "titleBlink": false,
@ -788,7 +803,7 @@
"type": "messaging", "type": "messaging",
"allow_popups": false, "allow_popups": false,
"manual_notifications": false, "manual_notifications": false,
"js_unread": "function checkUnread(){var a=document.querySelector(\"div [data-testid=\\\"message_count\\\"] div\"),b=document.querySelector(\"div [data-testid=\\\"comment_count\\\"] div\");a=a?parseInt(a.innerText):0,b=b?parseInt(b.innerText):0,updateBadge(a+b)}function updateBadge(a){1<=a?rambox.setUnreadCount(a):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);", "js_unread": "function checkUnread(){var e=document.querySelector(\"iframe\")?document.querySelector(\"iframe\").contentDocument.querySelectorAll(\"#content ._8fg6\"):document.querySelectorAll(\"#content ._6idk._6idh\");a=e[0]?parseInt(e[0].innerText):0,b=e[1]?parseInt(e[1].innerText):0,updateBadge(a+b)}function updateBadge(e){1<=e?rambox.setUnreadCount(e):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);",
"userAgent": "", "userAgent": "",
"note": "", "note": "",
"titleBlink": false, "titleBlink": false,
@ -1004,21 +1019,6 @@
"titleBlink": false, "titleBlink": false,
"custom_domain": false "custom_domain": false
}, },
{
"id": "riot",
"logo": "riot.png",
"name": "Riot",
"description": "Riot is a simple and elegant collaboration environment that gathers all of your different conversations and app integrations into one single app.",
"url": "https://riot.im/app/",
"type": "messaging",
"allow_popups": false,
"manual_notifications": false,
"js_unread": "function checkUnread(){var a=document.getElementsByClassName(\"mx_RoomTile_nameContainer\"),b=0;for(i=0;i<a.length;i++){var c=a[i].getElementsByClassName(\"mx_RoomTile_badge\");for(ii=0;ii<c.length;ii++)parseInt(c[ii].textContent.trim())%1===0&&(b+=parseInt(c[ii].textContent.trim()))}updateBadge(b)}function updateBadge(a){a>=1?document.title=\"(\"+a+\") \"+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,1e3);",
"userAgent": "",
"note": "",
"titleBlink": false,
"custom_domain": true
},
{ {
"id": "rocketchat", "id": "rocketchat",
"logo": "rocketchat.png", "logo": "rocketchat.png",
@ -1253,7 +1253,7 @@
"type": "messaging", "type": "messaging",
"allow_popups": false, "allow_popups": false,
"manual_notifications": false, "manual_notifications": false,
"js_unread": "", "js_unread": "function checkUnread(){let e=document.querySelector(\"#top-navigation #activity .badge\").innerHTML;updateBadge(parseInt(e))}function updateBadge(e){e&&e>=1?rambox.setUnreadCount(e):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);",
"userAgent": "", "userAgent": "",
"note": "", "note": "",
"titleBlink": false, "titleBlink": false,

Loading…
Cancel
Save