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
888 stars 143 forks source link

Needs update and agent string for Windows 11 #148

Open YesTrustMe opened 2 years ago

YesTrustMe commented 2 years ago

It seems this has been abandonded despite being recommended by many bloggers. There is no string for Windows 11.

PeterDaveHello commented 2 years ago

The UA list was updated a few weeks ago: 46f2f2865842ee2facb60749cb91fa325ce074cf

Windows 11 will share the same Windows version number in the user-agent string, will need a new header called Sec-CH-UA-Platform-Version to make the difference.

Reference:

https://bugzilla.mozilla.org/show_bug.cgi?id=1693295

https://docs.microsoft.com/en-us/microsoft-edge/web-platform/how-to-detect-win11

User-Agent strings won't be updated to differentiate between Windows 11 and Windows 10. We don't recommend using User-Agent strings to retrieve user agent data. Browsers that don't support User-Agent Client Hints won't be able to differentiate between Windows 11 and Windows 10.

PeterDaveHello commented 2 years ago

A workaround to avoid similar issues may be to add a Windows 11 option still, but just use the same version number in the UA string.

roweger commented 2 years ago

@PeterDaveHello Is there a method to import the updated string list to the Firefox version of the addon? I note the Chromium versions of this extension have been updated, but the Firefox one hasn't seen an update in over a year. I think that's what the OP is referring to:

https://addons.mozilla.org/en-US/firefox/addon/user-agent-string-switcher/