From 740c01c33cb570764865ed270ad51571fe782cee Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 19 Jun 2019 16:43:08 -0400 Subject: [PATCH] anonymize user agent from desktop app --- src/electron/window.main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/electron/window.main.ts b/src/electron/window.main.ts index ab25cc689f..cdf9d68bb7 100644 --- a/src/electron/window.main.ts +++ b/src/electron/window.main.ts @@ -116,7 +116,9 @@ export class WindowMain { protocol: 'file:', pathname: path.join(__dirname, '/index.html'), slashes: true, - })); + }), { + userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0', + }); // Open the DevTools. if (isDev()) {