Update user agent
This commit is contained in:
parent
89b98c0b1e
commit
d685e803b3
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ namespace XeroBrowser
|
|||
settings.CefCommandLineArgs.Add("ppapi-flash-path", Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "pepflashplayer64_32_0_0_465.dll"));
|
||||
settings.CefCommandLineArgs.Add("ppapi-flash-version", "32.0.0.465");
|
||||
settings.CefCommandLineArgs["plugin-policy"] = "allow";
|
||||
settings.UserAgent = "cpprestsdk/2.9.0 Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 XeroBrowser/1.0";
|
||||
settings.UserAgent = "cpprestsdk/2.9.0 Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 XeroBrowser/1.0.0";
|
||||
settings.CefCommandLineArgs.Add("enable-media-stream", "1");
|
||||
Cef.EnableHighDPISupport();
|
||||
settings.CachePath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + @"\CEF";
|
||||
|
|
Reference in a new issue