Re: changing parameter when post a form
Posted: Sun Mar 24, 2019 8:25 am
Hi,
Use the TChromium.OnBeforeResourceLoad event to modify the request.
The PostInspectorBrowser demo has most of the code that you need.
These are the code comments for that event :
Also available here :
https://magpcss.org/ceforum/apidocs3/pr ... llback%3E)
Use the TChromium.OnBeforeResourceLoad event to modify the request.
The PostInspectorBrowser demo has most of the code that you need.
These are the code comments for that event :
Code: Select all
///
// Called on the IO thread before a resource request is loaded. The |request|
// object may be modified. Return RV_CONTINUE to continue the request
// immediately. Return RV_CONTINUE_ASYNC and call cef_request_tCallback::
// cont() at a later time to continue or cancel the request asynchronously.
// Return RV_CANCEL to cancel the request immediately.
//
///
https://magpcss.org/ceforum/apidocs3/pr ... llback%3E)