aboutsummaryrefslogtreecommitdiffstats
path: root/uncompressed/zoho/webview.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2020-03-13 09:22:50 +0100
committerLibravatar vantezzen <hello@vantezzen.io>2020-03-13 09:22:50 +0100
commit21bebcc1f8862b49f9750ba8b4010192ccd9e51c (patch)
tree6d47855484a94074c0da04b6143ea009b05ccfbf /uncompressed/zoho/webview.js
parentAdd Unraid + Netatmo Energy recipes (#65) (diff)
downloadferdium-recipes-21bebcc1f8862b49f9750ba8b4010192ccd9e51c.tar.gz
ferdium-recipes-21bebcc1f8862b49f9750ba8b4010192ccd9e51c.tar.zst
ferdium-recipes-21bebcc1f8862b49f9750ba8b4010192ccd9e51c.zip
#62 Add Zoho recipe (@jaredkotoff)
Diffstat (limited to 'uncompressed/zoho/webview.js')
-rw-r--r--uncompressed/zoho/webview.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/uncompressed/zoho/webview.js b/uncompressed/zoho/webview.js
new file mode 100644
index 0000000..e4f6108
--- /dev/null
+++ b/uncompressed/zoho/webview.js
@@ -0,0 +1,11 @@
1const path = require('path');
2
3module.exports = (Franz, options) => {
4 const getMessages = () => {
5 const unreadMail = $(".zm_urd").not(".hidden").length;
6
7 Franz.setBadge(unreadMail);
8 }
9
10 Franz.loop(getMessages);
11}; \ No newline at end of file