how can intercept Response content and modify it ? perhaps in WVBrowser1WebResourceRequested event,but i do not know how to achieve
thanks
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.
how can intercept Response content and modify it
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: how can intercept Response content and modify it
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.
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.