Skip to content

Commit

Permalink
Revert "Fix this issue : timche/gmail-desktop#174"
Browse files Browse the repository at this point in the history
This reverts commit 7e3b91f.
  • Loading branch information
thierry1970 committed Jan 21, 2020
1 parent 5ad7afb commit 8f03f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/UASwitcher.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Use the same user agent as Chrome to improve site compatibility and increase fingerprinting resistance
see https://github.com/minbrowser/min/issues/657 for more information */

let defaultUserAgent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) old-airport-include/1.0.0 Chrome/79.0.3945.130 Electron/7.1.9 Safari/537.36'
let defaultUserAgent = app.userAgentFallback
let newUserAgent = defaultUserAgent.replace(/Min\/\S+\s/, '').replace(/Electron\/\S+\s/, '')
app.userAgentFallback = newUserAgent

0 comments on commit 8f03f75

Please sign in to comment.