Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

UserAgent

Post Reply
Kazann117
Posts: 41
Joined: Mon Jan 07, 2019 10:08 pm

UserAgent

Post by Kazann117 »

How under Chrom1, Chrom2, Chrom3 to make different userAgent
User avatar
salvadordf
Posts: 4039
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: UserAgent

Post 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
Post Reply