Browse Source

Added Unread code to Yandex Mail

Fixes #413
pull/594/merge
Ramiro Saenz 8 years ago
parent
commit
096dcde629
  1. 1
      app/store/ServicesList.js

1
app/store/ServicesList.js

@ -457,6 +457,7 @@ Ext.define('Rambox.store.ServicesList', {
,description: 'Yandex is a free webmail service with unlimited mail storage, protection from viruses and spam, access from web interface, etc.'
,url: 'https://mail.yandex.com/'
,type: 'email'
,js_unread: 'function checkUnread(){var t=parseInt($(".mail-MessagesFilters-Item_unread .mail-LabelList-Item_count").html());updateBadge(isNaN(t)?0:t)}function updateBadge(e){e>=1?document.title="("+e+") "+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,3000);'
},
{
id: 'irccloud'

Loading…
Cancel
Save