From 2dd9fe8b06468580d75f0948478cd8e10732b76f Mon Sep 17 00:00:00 2001 From: vantezzen Date: Sat, 28 Mar 2020 10:06:50 +0100 Subject: Update Whatsapp --- all.json | 2 +- archives/whatsapp.tar.gz | Bin 141929 -> 77703 bytes uncompressed/whatsapp/package.json | 5 +++-- uncompressed/whatsapp/service.css | 4 ++++ uncompressed/whatsapp/webview.js | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/all.json b/all.json index 251059a..5068edd 100644 --- a/all.json +++ b/all.json @@ -950,7 +950,7 @@ "featured": false, "id": "whatsapp", "name": "WhatsApp", - "version": "1.0.17", + "version": "1.0.20", "icons": { "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/whatsapp/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/whatsapp/icon.svg" diff --git a/archives/whatsapp.tar.gz b/archives/whatsapp.tar.gz index 477ebcb..3bbb38f 100644 Binary files a/archives/whatsapp.tar.gz and b/archives/whatsapp.tar.gz differ diff --git a/uncompressed/whatsapp/package.json b/uncompressed/whatsapp/package.json index 5ac1839..e5ef63a 100644 --- a/uncompressed/whatsapp/package.json +++ b/uncompressed/whatsapp/package.json @@ -1,13 +1,14 @@ { "id": "whatsapp", "name": "WhatsApp", - "version": "1.0.17", + "version": "1.0.20", "description": "WhatsApp", "main": "index.js", "author": "Stefan Malzner ", "license": "MIT", "config": { "serviceURL": "https://web.whatsapp.com", - "hasNotificationSound": true + "hasNotificationSound": true, + "disablewebsecurity": true } } diff --git a/uncompressed/whatsapp/service.css b/uncompressed/whatsapp/service.css index b453fd4..f0ce216 100644 --- a/uncompressed/whatsapp/service.css +++ b/uncompressed/whatsapp/service.css @@ -3,3 +3,7 @@ height: 100% !important; top: 0 !important; } + +._1Wk6A ._3YewW._31v_P._2Ptrm { + display: none; +} \ No newline at end of file diff --git a/uncompressed/whatsapp/webview.js b/uncompressed/whatsapp/webview.js index 958808e..47d791d 100644 --- a/uncompressed/whatsapp/webview.js +++ b/uncompressed/whatsapp/webview.js @@ -39,7 +39,7 @@ module.exports = Franz => { let count = 0; for (let i = 0; i < elements.length; i += 1) { - if (elements[i].querySelectorAll('.P6z4j').length === 1 && elements[i].querySelectorAll('*[data-icon="muted"]').length === 0) { + if (elements[i].querySelectorAll('*[data-icon="muted"]').length === 0) { count += 1; } } -- cgit v1.2.3-70-g09d2