Page 1 of 1

how can intercept Response content and modify it

Posted: Fri Jun 13, 2025 1:02 pm
by sdbzlys
how can intercept Response content and modify it ? perhaps in WVBrowser1WebResourceRequested event,but i do not know how to achieve
thanks

Re: how can intercept Response content and modify it

Posted: Sat Jun 14, 2025 2:00 pm
by salvadordf
Hi,

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

It creates a response before a resource request.

Re: how can intercept Response content and modify it

Posted: Sun Jun 15, 2025 3:12 pm
by sdbzlys
thank you