diff options
Diffstat (limited to 'uncompressed')
-rw-r--r-- | uncompressed/whatsapp/package.json | 2 | ||||
-rw-r--r-- | uncompressed/whatsapp/webview.js | 7 |
2 files changed, 1 insertions, 8 deletions
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 @@ | |||
1 | { | 1 | { |
2 | "id": "whatsapp", | 2 | "id": "whatsapp", |
3 | "name": "WhatsApp", | 3 | "name": "WhatsApp", |
4 | "version": "1.1.0", | 4 | "version": "2.0.0", |
5 | "description": "WhatsApp", | 5 | "description": "WhatsApp", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Stefan Malzner <stefan@adlk.io>", | 7 | "author": "Stefan Malzner <stefan@adlk.io>", |
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(); | |||
10 | const { | 10 | const { |
11 | session | 11 | session |
12 | } = webContents; | 12 | } = webContents; |
13 | setTimeout(() => { | ||
14 | const elem = document.querySelector('.landing-title.version-title'); | ||
15 | |||
16 | if (elem && elem.innerText.toLowerCase().includes('google chrome')) { | ||
17 | window.location.reload(); | ||
18 | } | ||
19 | }, 1000); | ||
20 | window.addEventListener('beforeunload', async () => { | 13 | window.addEventListener('beforeunload', async () => { |
21 | try { | 14 | try { |
22 | session.flushStorageData(); | 15 | session.flushStorageData(); |