diff options
author | Alex <alex.bock@gmail.com> | 2021-01-05 22:57:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 22:57:21 +0100 |
commit | dc0e9a9b45bc338d656b150dbd19349d72e3050e (patch) | |
tree | 80822174abb7a4bd3496666b7fa5b9b960acda46 /recipes/whatsapp/webview.js | |
parent | Bump ini from 1.3.5 to 1.3.8 (#386) (diff) | |
download | ferdium-recipes-dc0e9a9b45bc338d656b150dbd19349d72e3050e.tar.gz ferdium-recipes-dc0e9a9b45bc338d656b150dbd19349d72e3050e.tar.zst ferdium-recipes-dc0e9a9b45bc338d656b150dbd19349d72e3050e.zip |
Update WhatsApp recipe to capture more unread message counters (#377)
Diffstat (limited to 'recipes/whatsapp/webview.js')
-rw-r--r-- | recipes/whatsapp/webview.js | 2 |
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 | ||
29 | module.exports = Franz => { | 29 | module.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 | ||