ray-lothian / UserAgent-Switcher

A User-Agent spoofer browser extension that is highly configurable
https://webextension.org/listing/useragent-switcher.html
Mozilla Public License 2.0
884 stars 142 forks source link

Google actually knows I'm spoofing the user agent #177

Closed Kruegerrr closed 1 year ago

Kruegerrr commented 1 year ago

I'm using Firefox on a Linux PC and I wish I can spoof my OS as Windows. I have changed my user agent with this extension and I have also set general.oscpu.override to Windows NT 10.0 and general.platform.override to Win32 to match a Windows device. This can fool most websites that didn't apply subtle techniques for OS and platform detection. However, my OS is still recognized as Linux when I log in my Google account. Are there any things I can do to circumvent the more advanced analysis Google has applied?

Iey4iej3 commented 1 year ago

It is probably related to "Disable Spoofing" setting. By default, it contains

google.com/recaptcha, gstatic.com/recaptcha, accounts.google.com, accounts.youtube.com, gitlab.com/users/sign_in

which should have something to do with google login.

ianisfmi commented 1 year ago

It is probably related to "Disable Spoofing" setting. By default, it contains

google.com/recaptcha, gstatic.com/recaptcha, accounts.google.com, accounts.youtube.com, gitlab.com/users/sign_in

which should have something to do with google login.

Is this setting in Firefox or in the add-on? I have searched in about:config and I did not find a 'disable spoofing' setting in there.

Iey4iej3 commented 1 year ago

It is in "Options" of this addon (if you do not see it, either your Firefox or your addon is probably not up-to-date).

Kruegerrr commented 1 year ago

Thanks! I was not aware that the default value in “Disable Spoofing” section is enabled by default. After deleting the strings, my platform seems to be recognized as Windows by Google.