diff options
Diffstat (limited to 'uncompressed/whatsapp/webview.js')
-rw-r--r-- | uncompressed/whatsapp/webview.js | 7 |
1 files changed, 0 insertions, 7 deletions
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(); |