diff options
author | Jonathan Winter <14960780+jhwinter@users.noreply.github.com> | 2020-09-19 14:30:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-19 19:30:27 +0100 |
commit | 6ecbbff345eed6e252ea8b2567176464873cb531 (patch) | |
tree | b8be0c24fc98d4582936dcc1c36ce716607c302a /uncompressed/meetfranz-lastpass/index.js | |
parent | Update Jitsi Meet to allow self-hosted versions and fix UA string (#167) (diff) | |
download | ferdium-recipes-6ecbbff345eed6e252ea8b2567176464873cb531.tar.gz ferdium-recipes-6ecbbff345eed6e252ea8b2567176464873cb531.tar.zst ferdium-recipes-6ecbbff345eed6e252ea8b2567176464873cb531.zip |
Add LastPass recipe (#290)
Diffstat (limited to 'uncompressed/meetfranz-lastpass/index.js')
-rw-r--r-- | uncompressed/meetfranz-lastpass/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/uncompressed/meetfranz-lastpass/index.js b/uncompressed/meetfranz-lastpass/index.js new file mode 100644 index 0000000..dd10055 --- /dev/null +++ b/uncompressed/meetfranz-lastpass/index.js | |||
@@ -0,0 +1,8 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => class Messenger extends Franz { | ||
4 | overrideUserAgent() { | ||
5 | return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); | ||
6 | } | ||
7 | |||
8 | }; \ No newline at end of file | ||