aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/kaizala/index.js
blob: f9b809917b9a148d05bb915f5de0edf9db9ef298 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
"use strict";

module.exports = (Franz) =>
  class Messenger extends Franz {
    overrideUserAgent() {
      return window.navigator.userAgent.replace(
        /(Ferdi|Electron)\/\S+ \([^)]+\)/g,
        ""
      );
    }
  };