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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

how can intercept Response content and modify it

Post Reply
sdbzlys
Posts: 1
Joined: Fri Jun 13, 2025 12:58 pm

how can intercept Response content and modify it

Post by sdbzlys »

how can intercept Response content and modify it ? perhaps in WVBrowser1WebResourceRequested event,but i do not know how to achieve
thanks
User avatar
salvadordf
Posts: 4620
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: how can intercept Response content and modify it

Post by salvadordf »

Hi,

See the MiniBrowser demo :
https://github.com/salvadordf/WebView4Delphi/blob/1ef0c977702d0a414897aa3d9db0b8b2a3907419/demos/Delphi_VCL/MiniBrowser/uMiniBrowser.pas#L1019

I creates a response before a resource request.
Post Reply