diff options
Diffstat (limited to 'recipes/whatsapp/webview.js')
-rw-r--r-- | recipes/whatsapp/webview.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/whatsapp/webview.js b/recipes/whatsapp/webview.js index 3586e14..180be79 100644 --- a/recipes/whatsapp/webview.js +++ b/recipes/whatsapp/webview.js | |||
@@ -36,6 +36,9 @@ module.exports = Ferdium => { | |||
36 | Ferdium.setBadge(count, indirectCount); | 36 | Ferdium.setBadge(count, indirectCount); |
37 | }; | 37 | }; |
38 | 38 | ||
39 | // inject webview hacking script | ||
40 | Ferdium.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js')); | ||
41 | |||
39 | const getActiveDialogTitle = () => { | 42 | const getActiveDialogTitle = () => { |
40 | const element = document.querySelector('header .emoji-texttt'); | 43 | const element = document.querySelector('header .emoji-texttt'); |
41 | 44 | ||