diff options
author | 2020-02-21 21:24:40 -0500 | |
---|---|---|
committer | 2020-02-21 21:24:40 -0500 | |
commit | c33d2493deda85ee1ad20b2ca7f366e0345fe956 (patch) | |
tree | 3bd47ca35a4ead3a8df5837c033baff557ecd951 /uncompressed/Google Meet/index.js | |
parent | adding google meet recipe (diff) | |
download | ferdium-recipes-c33d2493deda85ee1ad20b2ca7f366e0345fe956.tar.gz ferdium-recipes-c33d2493deda85ee1ad20b2ca7f366e0345fe956.tar.zst ferdium-recipes-c33d2493deda85ee1ad20b2ca7f366e0345fe956.zip |
Update index.js
Diffstat (limited to 'uncompressed/Google Meet/index.js')
-rw-r--r-- | uncompressed/Google Meet/index.js | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/uncompressed/Google Meet/index.js b/uncompressed/Google Meet/index.js index dd10055..97c6a73 100644 --- a/uncompressed/Google Meet/index.js +++ b/uncompressed/Google Meet/index.js | |||
@@ -1,8 +1,6 @@ | |||
1 | "use strict"; | 1 | module.exports = Franz => |
2 | 2 | class Gmail extends Franz { | |
3 | module.exports = Franz => class Messenger extends Franz { | 3 | overrideUserAgent() { |
4 | overrideUserAgent() { | 4 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; |
5 | return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); | 5 | } |
6 | } | 6 | }; |
7 | |||
8 | }; \ No newline at end of file | ||