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

Prevent UA Client hints

Open scoricov opened this issue 3 years ago • 0 comments

Hello,

This proposal is already implemented in Chrome: https://wicg.github.io/ua-client-hints/#intro Example:

SEC-CH-UA: ".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"
SEC-CH-UA-MOBILE: ?0
SEC-CH-UA-PLATFORM: "macOS"

This means the true UA and platform information leaks aside from the UA header which this extension is meant to control.

Solution for Chrome:

var settings = new CefSettings(); settings.CefCommandLineArgs.Add("disable-features", "UserAgentClientHint"); Cef.InitializeAsync(settings); 

Would it be possible to include it in the extension's code?

scoricov avatar Jul 28 '22 14:07 scoricov