diff options
Diffstat (limited to 'recipes/messenger')
-rw-r--r-- | recipes/messenger/package.json | 2 | ||||
-rw-r--r-- | recipes/messenger/webview.js | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/recipes/messenger/package.json b/recipes/messenger/package.json index ac854c8..bc46aaf 100644 --- a/recipes/messenger/package.json +++ b/recipes/messenger/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "messenger", | 2 | "id": "messenger", |
3 | "name": "Messenger", | 3 | "name": "Messenger", |
4 | "version": "1.7.0", | 4 | "version": "1.7.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://messenger.com", | 7 | "serviceURL": "https://messenger.com", |
diff --git a/recipes/messenger/webview.js b/recipes/messenger/webview.js index 749bdfd..210e6b5 100644 --- a/recipes/messenger/webview.js +++ b/recipes/messenger/webview.js | |||
@@ -20,8 +20,17 @@ module.exports = Ferdium => { | |||
20 | Ferdium.setBadge(count); | 20 | Ferdium.setBadge(count); |
21 | }; | 21 | }; |
22 | 22 | ||
23 | const hideInstallMessage = () => { | ||
24 | const installMessage = document.querySelector('.usczdcwk'); | ||
25 | if (installMessage.style.display != 'none') { | ||
26 | installMessage.style.display = 'none' | ||
27 | } | ||
28 | } | ||
29 | |||
23 | Ferdium.loop(getMessages); | 30 | Ferdium.loop(getMessages); |
24 | 31 | ||
32 | Ferdium.loop(hideInstallMessage); | ||
33 | |||
25 | localStorage.setItem( | 34 | localStorage.setItem( |
26 | '_cs_desktopNotifsEnabled', | 35 | '_cs_desktopNotifsEnabled', |
27 | JSON.stringify({ | 36 | JSON.stringify({ |