aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Alex <alex.bock@gmail.com>2021-01-05 22:57:21 +0100
committerLibravatar GitHub <noreply@github.com>2021-01-05 22:57:21 +0100
commitdc0e9a9b45bc338d656b150dbd19349d72e3050e (patch)
tree80822174abb7a4bd3496666b7fa5b9b960acda46
parentBump ini from 1.3.5 to 1.3.8 (#386) (diff)
downloadferdium-recipes-dc0e9a9b45bc338d656b150dbd19349d72e3050e.tar.gz
ferdium-recipes-dc0e9a9b45bc338d656b150dbd19349d72e3050e.tar.zst
ferdium-recipes-dc0e9a9b45bc338d656b150dbd19349d72e3050e.zip
Update WhatsApp recipe to capture more unread message counters (#377)
-rw-r--r--recipes/whatsapp/webview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/whatsapp/webview.js b/recipes/whatsapp/webview.js
index 263c543..26839d3 100644
--- a/recipes/whatsapp/webview.js
+++ b/recipes/whatsapp/webview.js
@@ -28,7 +28,7 @@ window.addEventListener('beforeunload', async () => {
28 28
29module.exports = Franz => { 29module.exports = Franz => {
30 const getMessages = function getMessages() { 30 const getMessages = function getMessages() {
31 const elements = document.querySelectorAll("[class=_31gEB]"); 31 const elements = document.querySelectorAll('._31gEB, .CxUIE, .unread, ._0LqQ, .m61XR, .ZKn2B, .VOr2j');
32 var count = 0; 32 var count = 0;
33 var indirectCount = 0; 33 var indirectCount = 0;
34 34