salvadordf Help !!!
Posted: Mon Sep 02, 2024 6:06 pm
CustomSwitches:= 'Mozilla/5.0 (Linux; Android 14; SM-G991B Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/125.0.5615.138 Mobile Safari/537.36';
GlobalWebView2Loader.AdditionalBrowserArguments := '--user-agent="' + CustomSwitches + '"';
GlobalWebView2Loader.StartWebView2;
https://abrahamjuliot.github.io/creepjs/
GlobalWebView2Loader.StartWebView2; <
The user agent must be changed before it is called.
userAgentData cannot be changed.
Network.setUserAgentOverride
Even if you do that, the service part won't change, but everything else will change properly. ,brand ,version change
CEF4Delphi is the same.
If either of those changes, I'll give you a kiss.
Navigator here userAgentData works fine.
However, the one in the picture is displayed as a windows browser.

https://ibb.co/5xWpqdC
GlobalWebView2Loader.AdditionalBrowserArguments := '--user-agent="' + CustomSwitches + '"';
GlobalWebView2Loader.StartWebView2;
https://abrahamjuliot.github.io/creepjs/
GlobalWebView2Loader.StartWebView2; <
The user agent must be changed before it is called.
userAgentData cannot be changed.
Network.setUserAgentOverride
Even if you do that, the service part won't change, but everything else will change properly. ,brand ,version change
CEF4Delphi is the same.
If either of those changes, I'll give you a kiss.
Navigator here userAgentData works fine.
However, the one in the picture is displayed as a windows browser.
https://ibb.co/5xWpqdC