Page 1 of 1

UserAgent

Posted: Sat Jun 15, 2019 11:30 am
by Kazann117
How under Chrom1, Chrom2, Chrom3 to make different userAgent

Re: UserAgent

Posted: Sat Jun 15, 2019 12:05 pm
by salvadordf
Hi,

Use TChromium.OnBeforeResourceLoad and replace the HTTP header with the user agent.

The ResponseFilterBrowser demo has an example with the "Accept-Encoding" header :
https://github.com/salvadordf/CEF4Delph ... r.pas#L419