Page 1 of 1

Not upload and not block URLs either

Posted: Tue Mar 09, 2021 1:20 pm
by dilfich
How to block link loading except as Result:= RV_CANCEL; ?
When blocking, you need the status OK\200.

Re: Not upload and not block URLs either

Posted: Sun Mar 14, 2021 2:28 pm
by salvadordf
Hi,

Using the TChromium.OnBeforeResourceLoad event should be enough but you can also try these :
  • TChromium.OnBeforeBrowse and set "Result" to false.
  • TChromium.OnResourceResponse and remove the "Origin" header from the request.