diff options
author | 2020-02-21 12:44:04 -0500 | |
---|---|---|
committer | 2020-02-21 12:44:04 -0500 | |
commit | e4766969beaa2efb605df0a6da72e96722e9c73c (patch) | |
tree | be3b36269b8a8f7ac552d070e69317a3c6b3f19a /uncompressed/Google Meet/index.js | |
parent | adding google meet recipe (diff) | |
download | ferdium-recipes-e4766969beaa2efb605df0a6da72e96722e9c73c.tar.gz ferdium-recipes-e4766969beaa2efb605df0a6da72e96722e9c73c.tar.zst ferdium-recipes-e4766969beaa2efb605df0a6da72e96722e9c73c.zip |
adding google meet recipe
Diffstat (limited to 'uncompressed/Google Meet/index.js')
-rw-r--r-- | uncompressed/Google Meet/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/uncompressed/Google Meet/index.js b/uncompressed/Google Meet/index.js new file mode 100644 index 0000000..dd10055 --- /dev/null +++ b/uncompressed/Google Meet/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 | ||