UserAgent-Switcher icon indicating copy to clipboard operation
UserAgent-Switcher copied to clipboard

Needs update and agent string for Windows 11

Open YesTrustMe opened this issue 3 years ago • 3 comments

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

YesTrustMe avatar Feb 14 '22 06:02 YesTrustMe

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 avatar Mar 31 '22 12:03 PeterDaveHello

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.

PeterDaveHello avatar Mar 31 '22 12:03 PeterDaveHello

@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/

roweger avatar May 10 '22 05:05 roweger