diff options
Diffstat (limited to 'recipes/lastpass')
-rw-r--r-- | recipes/lastpass/package.json | 2 | ||||
-rw-r--r-- | recipes/lastpass/webview.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/recipes/lastpass/package.json b/recipes/lastpass/package.json index cb0d15b..0ace23e 100644 --- a/recipes/lastpass/package.json +++ b/recipes/lastpass/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "lastpass", | 2 | "id": "lastpass", |
3 | "name": "LastPass", | 3 | "name": "LastPass", |
4 | "version": "2.2.3", | 4 | "version": "2.2.4", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://lastpass.com/?ac=1&lpnorefresh=1", | 7 | "serviceURL": "https://lastpass.com/?ac=1&lpnorefresh=1", |
diff --git a/recipes/lastpass/webview.js b/recipes/lastpass/webview.js index e50ad38..8bcf058 100644 --- a/recipes/lastpass/webview.js +++ b/recipes/lastpass/webview.js | |||
@@ -8,7 +8,7 @@ setTimeout(() => { | |||
8 | } | 8 | } |
9 | }, 1000); | 9 | }, 1000); |
10 | 10 | ||
11 | module.exports = Ferdi => { | 11 | module.exports = (Ferdi, settings) => { |
12 | const getMessages = () => { | 12 | const getMessages = () => { |
13 | const elements = document.querySelectorAll('.CxUIE, .unread'); | 13 | const elements = document.querySelectorAll('.CxUIE, .unread'); |
14 | let count = 0; | 14 | let count = 0; |
@@ -23,7 +23,7 @@ module.exports = Ferdi => { | |||
23 | }; | 23 | }; |
24 | 24 | ||
25 | window.addEventListener('beforeunload', async () => { | 25 | window.addEventListener('beforeunload', async () => { |
26 | Ferdi.clearStorageData(['appcache', 'serviceworkers', 'cachestorage', 'websql', 'indexdb']); | 26 | Ferdi.clearStorageData(settings.id, { storages: ['appcache', 'serviceworkers', 'cachestorage', 'websql', 'indexdb'] }); |
27 | Ferdi.releaseServiceWorkers(); | 27 | Ferdi.releaseServiceWorkers(); |
28 | }); | 28 | }); |
29 | 29 | ||