aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/pivotal-tracker/webview.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-06-20 11:08:00 +0530
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-06-20 05:47:40 +0000
commit8a0971ff9f41fdaa1af15e88740ce9479e1ec6ea (patch)
treedbbc5d0bf44f56a1024eae1d9799c47853401e0d /recipes/pivotal-tracker/webview.js
parentRenamed 'glowingbear' --> 'glowing-bear' and 'ex-google-voice' --> 'google-vo... (diff)
downloadferdium-recipes-8a0971ff9f41fdaa1af15e88740ce9479e1ec6ea.tar.gz
ferdium-recipes-8a0971ff9f41fdaa1af15e88740ce9479e1ec6ea.tar.zst
ferdium-recipes-8a0971ff9f41fdaa1af15e88740ce9479e1ec6ea.zip
Added new services
- 'air-droid' - 'basecamp' - 'box' - 'buffer' - 'chatra' - 'easy-redmine' - 'feedbin' - 'iCloud' - 'jollor' - 'nomadlist' - 'paymo' - 'pivotal-tracker' - 'plan' - 'podio' - 'protonet' - 'teamleader'
Diffstat (limited to 'recipes/pivotal-tracker/webview.js')
-rw-r--r--recipes/pivotal-tracker/webview.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/pivotal-tracker/webview.js b/recipes/pivotal-tracker/webview.js
new file mode 100644
index 0000000..a550492
--- /dev/null
+++ b/recipes/pivotal-tracker/webview.js
@@ -0,0 +1,13 @@
1module.exports = (Franz, options) => {
2
3 function getMessages() {
4 var bell = document.querySelectorAll("#view65 > span")[0];
5
6 counter = parseInt(bell.innerText);
7
8 Franz.setBadge(counter);
9 };
10
11 Franz.loop(getMessages);
12
13}