aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/office365-owa/index.js
blob: 7ea343599314e2a4a2f3fd9429b263de85f57006 (plain) (blame)
1
2
3
4
5
6
7
8
module.exports = Ferdium =>
  class Outlook extends Ferdium {
    overrideUserAgent() {
      return window.navigator.userAgent
        .replaceAll(/(Ferdium|Electron)\/\S+ \([^)]+\)/g, '')
        .trim();
    }
  };