diff options
Diffstat (limited to 'recipes/office365-owa/index.js')
-rw-r--r-- | recipes/office365-owa/index.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes/office365-owa/index.js b/recipes/office365-owa/index.js index 9157a2e..ce5229a 100644 --- a/recipes/office365-owa/index.js +++ b/recipes/office365-owa/index.js | |||
@@ -1 +1,8 @@ | |||
1 | module.exports = Franz => Franz; \ No newline at end of file | 1 | var os = require('os') |
2 | |||
3 | module.exports = Franz => | ||
4 | class Owa extends Franz { | ||
5 | overrideUserAgent() { | ||
6 | return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g,"").trim(); | ||
7 | } | ||
8 | }; | ||