From f667a01c1e40aa444c1ee4a0df25771a557c602b Mon Sep 17 00:00:00 2001 From: Amine Date: Mon, 20 Apr 2020 08:14:57 +0000 Subject: Remove WhatsApp reload attempts (#118) --- all.json | 2 +- archives/whatsapp.tar.gz | Bin 183468 -> 183369 bytes uncompressed/whatsapp/package.json | 2 +- uncompressed/whatsapp/webview.js | 7 ------- 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/all.json b/all.json index dc22b21..313624a 100644 --- a/all.json +++ b/all.json @@ -972,7 +972,7 @@ "featured": false, "id": "whatsapp", "name": "WhatsApp", - "version": "1.1.0", + "version": "2.0.0", "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 0a78ed7..1c45a71 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 3eccc69..210e8d1 100644 --- a/uncompressed/whatsapp/package.json +++ b/uncompressed/whatsapp/package.json @@ -1,7 +1,7 @@ { "id": "whatsapp", "name": "WhatsApp", - "version": "1.1.0", + "version": "2.0.0", "description": "WhatsApp", "main": "index.js", "author": "Stefan Malzner ", diff --git a/uncompressed/whatsapp/webview.js b/uncompressed/whatsapp/webview.js index 47d791d..989680a 100644 --- a/uncompressed/whatsapp/webview.js +++ b/uncompressed/whatsapp/webview.js @@ -10,13 +10,6 @@ const webContents = remote.getCurrentWebContents(); const { session } = webContents; -setTimeout(() => { - const elem = document.querySelector('.landing-title.version-title'); - - if (elem && elem.innerText.toLowerCase().includes('google chrome')) { - window.location.reload(); - } -}, 1000); window.addEventListener('beforeunload', async () => { try { session.flushStorageData(); -- cgit v1.2.3-70-g09d2