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