diff --git a/src/app/window-handler.ts b/src/app/window-handler.ts index 50eb0ab8..b4760392 100644 --- a/src/app/window-handler.ts +++ b/src/app/window-handler.ts @@ -2075,7 +2075,9 @@ export class WindowHandler { let userAgent = mainWindow.webContents.getUserAgent(); if (doOverrideUserAgents) { const electronUserAgentRegex = /(Electron[0-9\/.]*)/; - userAgent = userAgent.replace(electronUserAgentRegex, ''); + userAgent = userAgent + .replace(electronUserAgentRegex, '') + .replace(' ', ' '); } return userAgent; }