diff options
author | 2020-10-02 14:50:35 +0100 | |
---|---|---|
committer | 2020-10-02 14:50:35 +0100 | |
commit | b2f08a73a3fd71968aefca0f3e5fdee7f545f4d0 (patch) | |
tree | 28ea98deac8a944aded12f176ab7e116687ce0c1 /recipes/outlook/index.js | |
parent | Update Hangouts Chat to display direct and indirect notifications (#306) (diff) | |
download | ferdium-recipes-b2f08a73a3fd71968aefca0f3e5fdee7f545f4d0.tar.gz ferdium-recipes-b2f08a73a3fd71968aefca0f3e5fdee7f545f4d0.tar.zst ferdium-recipes-b2f08a73a3fd71968aefca0f3e5fdee7f545f4d0.zip |
Update user agent for OWA and Outlook (#302)
Diffstat (limited to 'recipes/outlook/index.js')
-rw-r--r-- | recipes/outlook/index.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/recipes/outlook/index.js b/recipes/outlook/index.js index 2df4f0b..5d96b3e 100644 --- a/recipes/outlook/index.js +++ b/recipes/outlook/index.js | |||
@@ -1,4 +1,8 @@ | |||
1 | "use strict"; | 1 | var os = require('os') |
2 | 2 | ||
3 | module.exports = Franz => Franz; | 3 | module.exports = Franz => |
4 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm9mZmljZTM2NS1vd2EvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBLE9BQU8sQUFBUCxVQUFpQixTQUFTLEFBQTFCIiwiZmlsZSI6Im9mZmljZTM2NS1vd2EvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56OyJdfQ== \ No newline at end of file | 4 | class Outlook extends Franz { |
5 | overrideUserAgent() { | ||
6 | return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g,"").trim(); | ||
7 | } | ||
8 | }; | ||