aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/steamchat/index.js
blob: 95989813dd7f1cf787fb1412e1080acb88eacb7e (plain) (blame)
1
2
3
4
5
module.exports = (Ferdi) => class SteamChat extends Ferdi {
  overrideUserAgent() {
    return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim();
  }
};