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